zsrc cleanup
This commit is contained in:
parent
3fea583971
commit
e2768e666e
1 changed files with 4 additions and 3 deletions
7
.zshrc
7
.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
|
||||
|
|
Loading…
Reference in a new issue