zsrc cleanup

This commit is contained in:
Cyryl Plotnicki-Chudyk 2013-11-10 12:17:18 +01:00
parent 3fea583971
commit e2768e666e

7
.zshrc
View file

@ -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