diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-02 11:50:36 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-02 11:50:36 -0800 |
commit | 56f094860bec91c1968d46cccd5d2c2e3d179de1 (patch) | |
tree | 88038f3e9a42d40906ce77252d4e664a1eb60fb8 /themes/tjkirch_mod.zsh-theme | |
parent | ded745bf1471487c7dc537c781685615ff4c2515 (diff) | |
parent | 80ab595696f30d89bf52bb5189fa39518a3ca780 (diff) | |
download | zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.gz zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.bz2 zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.zip |
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/tjkirch_mod.zsh-theme')
-rw-r--r-- | themes/tjkirch_mod.zsh-theme | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/tjkirch_mod.zsh-theme b/themes/tjkirch_mod.zsh-theme new file mode 100644 index 000000000..1b206a7e1 --- /dev/null +++ b/themes/tjkirch_mod.zsh-theme @@ -0,0 +1,13 @@ +ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡" +ZSH_THEME_GIT_PROMPT_CLEAN="" + +function prompt_char { + if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi +} + +PROMPT='%(?,,%{$fg[red]%}FAIL: $?%{$reset_color%} +)%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) %_$(prompt_char) ' + +RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}' |