summaryrefslogtreecommitdiff
path: root/themes/tjkirch.zsh-theme
diff options
context:
space:
mode:
authorTom Kirchner <tjkirch+github@gmail.com>2011-03-15 00:43:22 +0000
committerTom Kirchner <tjkirch+github@gmail.com>2011-03-15 00:43:22 +0000
commitcb2362c006b25f8f2c655a50999c57ae48597c6b (patch)
treec02187fa849ed1166a99194a6b0ccc5896cdf262 /themes/tjkirch.zsh-theme
parente1f37e311fe895916a5e821266617ddb3f26fef1 (diff)
downloadzsh-cb2362c006b25f8f2c655a50999c57ae48597c6b.tar.gz
zsh-cb2362c006b25f8f2c655a50999c57ae48597c6b.tar.bz2
zsh-cb2362c006b25f8f2c655a50999c57ae48597c6b.zip
Actually show return code on failure
Diffstat (limited to 'themes/tjkirch.zsh-theme')
-rw-r--r--themes/tjkirch.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/tjkirch.zsh-theme b/themes/tjkirch.zsh-theme
index 1a93502f8..458ee1721 100644
--- a/themes/tjkirch.zsh-theme
+++ b/themes/tjkirch.zsh-theme
@@ -7,7 +7,7 @@ function prompt_char {
if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
}
-PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
+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) '