3657bf8efa783873d19660cfcb6405ae824ee2cc

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1421 from cristim/master

Added a small mod of the tjkirch theme

Diff

 1diff --git a/themes/tjkirch_mod.zsh-theme b/themes/tjkirch_mod.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..1b206a7e1f85e4a0b0d6fa208914a8f2c62dda3c
 4--- /dev/null
 5+++ b/themes/tjkirch_mod.zsh-theme
 6@@ -0,0 +1,13 @@
 7+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}"
 8+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
 9+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡"
10+ZSH_THEME_GIT_PROMPT_CLEAN=""
11+
12+function prompt_char {
13+	if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
14+}
15+
16+PROMPT='%(?,,%{$fg[red]%}FAIL: $?%{$reset_color%}
17+)%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) %_$(prompt_char) '
18+
19+RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'