zshrc: use gentoo prompt when available
This commit is contained in:
parent
c7989fc3df
commit
303473fca1
1 changed files with 10 additions and 1 deletions
11
.zshrc
11
.zshrc
|
@ -10,11 +10,20 @@ autoload -U compinit
|
|||
compinit
|
||||
setopt completealiases
|
||||
|
||||
autoload -U promptinit
|
||||
autoload -U comptinit promptinit
|
||||
compinit
|
||||
promptinit
|
||||
|
||||
#default, should be everywhere
|
||||
prompt redhat
|
||||
|
||||
prompt -l | grep -i gentoo > /dev/null
|
||||
code=$?
|
||||
if [[ $code == 0 ]]; then
|
||||
prompt gentoo
|
||||
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