diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-03-09 09:21:32 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-03-09 09:21:59 -0800 |
commit | 260ca7a284c188b8ad6adb2522f7b05dc32c7a7d (patch) | |
tree | 4bc5c5dc2aa73e681be0c1623d07318e3e91a399 /zshrc | |
parent | [emacs] Twitter's style check report warnings too (diff) | |
download | emacs.d-260ca7a284c188b8ad6adb2522f7b05dc32c7a7d.tar.gz |
[zsh] Add configuration for zsh
Basic configuration to start with zsh. Closes #18.
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 19 |
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 |