Smasty theme

This commit is contained in:
Smasty 2012-03-04 12:48:16 +01:00
commit d481042d2d

11
themes/smasty.zsh-theme Normal file
View file

@ -0,0 +1,11 @@
if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="white"; fi
local return_code="%(?..%{$fg[red]%}[#%?]%{$reset_color%})"
PS1='%{$reset_color%}%6~$(git_prompt_info)%{${fg[$CARETCOLOR]}%}${return_code}$%{${reset_color}%} '
RPS1='[%*]'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}@"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}‡ "