colors solarized (256 color support needed

This commit is contained in:
Sebastian Tramp 2011-04-11 22:50:27 +02:00
parent 173eb781e8
commit ee7249cddb

View file

@ -47,14 +47,14 @@ function promptSetup () {
VCS_LINE+=$VCS_BRANCH VCS_LINE+=$VCS_BRANCH
if [[ $VCS_CHANGES > 0 ]]; then if [[ $VCS_CHANGES > 0 ]]; then
VCS_LINE+="%F{yellow}%B" VCS_LINE+="%F{166}%B"
VCS_LINE+=' ★ ' VCS_LINE+=' ★ '
VCS_LINE+=$VCS_CHANGES VCS_LINE+=$VCS_CHANGES
fi fi
# rootshell gets another prompt sign # rootshell gets another prompt sign
PR_SIGN=$NOCOLOR PR_SIGN=$NOCOLOR
PR_SIGN+="%F{red}%B" PR_SIGN+="%F{160}%B"
PR_SIGN+=%(#."☠".'∴') PR_SIGN+=%(#."☠".'∴')
PR_SIGN+="%F{white}%b" PR_SIGN+="%F{white}%b"
@ -66,7 +66,7 @@ function promptSetup () {
PS1+="%{$terminfo_down_sc$VCS_LINE$terminfo[rc]%}" # the second line PS1+="%{$terminfo_down_sc$VCS_LINE$terminfo[rc]%}" # the second line
PS1+=$PR_STITLE # tmux title if present PS1+=$PR_STITLE # tmux title if present
PS1+=$PR_VCSSIGN # version control part if present PS1+=$PR_VCSSIGN # version control part if present
PS1+=%(?..'%F{yellow}%B%'?) # output last error number if present PS1+=%(?..'%F{136}%B%'?) # output last error number if present
PS1+=$PR_SIGN # the user sign PS1+=$PR_SIGN # the user sign
PS1+=" " # an additional space PS1+=" " # an additional space