From 260ca7a284c188b8ad6adb2522f7b05dc32c7a7d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Mar 2016 09:21:32 -0800 Subject: [zsh] Add configuration for zsh Basic configuration to start with zsh. Closes #18. --- zshrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 zshrc (limited to 'zshrc') 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 -- cgit 1.4.1