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
|
setopt appendhistory autocd extendedglob nomatch notify
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
|
|
||||||
|
#vim bindings
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
compinit
|
compinit
|
||||||
setopt completealiases
|
setopt completealiases
|
||||||
|
|
||||||
autoload -U comptinit promptinit
|
autoload -U promptinit
|
||||||
compinit
|
|
||||||
promptinit
|
promptinit
|
||||||
|
|
||||||
#default, should be everywhere
|
#default, should be everywhere
|
||||||
prompt redhat
|
prompt redhat
|
||||||
|
|
||||||
|
#use 'gentoo' prompt if available
|
||||||
prompt -l | grep -i gentoo > /dev/null
|
prompt -l | grep -i gentoo > /dev/null
|
||||||
code=$?
|
code=$?
|
||||||
if [[ $code == 0 ]]; then
|
if [[ $code == 0 ]]; then
|
||||||
prompt gentoo
|
prompt gentoo
|
||||||
|
zstyle ':completion::complete:*' use-cache 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
zstyle ':completion::complete:*' use-cache 1
|
|
||||||
if [[ `uname` == 'Darwin' ]]; then
|
if [[ `uname` == 'Darwin' ]]; then
|
||||||
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
|
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue