From 9bc4618da630dbdd0d926809852733bbe7c3ddaf Mon Sep 17 00:00:00 2001 From: rschultz Date: Wed, 5 Dec 2012 11:21:19 -0800 Subject: [PATCH] warhead --- themes/warhead.zsh-theme | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/warhead.zsh-theme diff --git a/themes/warhead.zsh-theme b/themes/warhead.zsh-theme new file mode 100644 index 000000000..8184f4081 --- /dev/null +++ b/themes/warhead.zsh-theme @@ -0,0 +1,17 @@ +# warhead theme for oh-my-zsh + +if [ $UID -eq 0 ]; then + BCOLOR=$fg_bold[red] + PCOLOR=$fg_bold[yellow] +else + BCOLOR=$fg_bold[blue] + PCOLOR=$fg[green] +fi + + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[%{$reset_color%}%{$fg[green]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%}]%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}+%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="" + +PROMPT='%{$fg_bold[red]%}%(?..%?%1v )%{$fg_bold[white]%}%m %{$BCOLOR%}[%{$reset_color%}%{$PCOLOR%}%~%{$BCOLOR%}]$(git_prompt_info) %{$BCOLOR%}%# %{$reset_color%}'