diff --git a/.zshrc b/.zshrc index dd027e57..38a3968a 100644 --- a/.zshrc +++ b/.zshrc @@ -4,26 +4,27 @@ SAVEHIST=1000 setopt appendhistory autocd extendedglob nomatch notify unsetopt beep +#vim bindings bindkey -v autoload -U compinit compinit setopt completealiases -autoload -U comptinit promptinit -compinit +autoload -U promptinit promptinit #default, should be everywhere prompt redhat +#use 'gentoo' prompt if available prompt -l | grep -i gentoo > /dev/null code=$? if [[ $code == 0 ]]; then prompt gentoo + zstyle ':completion::complete:*' use-cache 1 fi -zstyle ':completion::complete:*' use-cache 1 if [[ `uname` == 'Darwin' ]]; then alias vim=/usr/local/Cellar/vim/7.4/bin/vim fi