cb2362c006b25f8f2c655a50999c57ae48597c6b

Author
Tom Kirchner <tjkirch+github@gmail.com>
Committer
Tom Kirchner <tjkirch+github@gmail.com>
Date

Message

Actually show return code on failure

Diff

 1diff --git a/themes/tjkirch.zsh-theme b/themes/tjkirch.zsh-theme
 2index 1a93502f8e5aed8ffcf530dcaaaeb49b5c5cd450..458ee1721db325a2b6de77660fb94b7e9a76f1d8 100644
 3--- a/themes/tjkirch.zsh-theme
 4+++ b/themes/tjkirch.zsh-theme
 5@@ -7,7 +7,7 @@ function prompt_char {
 6 	if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
 7 }
 8 
 9-PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
10+PROMPT='%(?, ,%{$fg[red]%}FAIL: $?%{$reset_color%}
11 )
12 %{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
13 %_ $(prompt_char) '