summary refs log tree commit diff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..04000f3
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,19 @@
+# This is for the interactive shell
+
+# enable colors
+autoload -U colors
+colors
+
+# I want word boundary to be similar to bash
+autoload -U select-word-style
+select-word-style bash
+
+# local ret_status="%{$reset_color%}[%(?:%{$fg_bold[green]%}$?:%{$fg_bold[red]%}$?)%{$reset_color%}]"
+PROMPT="%1~ %# "
+# RPROMPT="${ret_status}"
+
+# load custom aliases
+source ~/.aliases
+
+# emacs style
+bindkey -e