summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2014-07-08 21:51:48 -0700
committerAndy Hayden <andyhayden1@gmail.com>2014-07-08 21:51:48 -0700
commitaa82bd7400d2c604987236f8f65c353143d56324 (patch)
treedfa4d620a2a36e9e4c28c4f649b0d589817a892c /themes
parent4131a59d1a57d53bf711115317116a6c57483636 (diff)
downloadzsh-aa82bd7400d2c604987236f8f65c353143d56324.tar.gz
zsh-aa82bd7400d2c604987236f8f65c353143d56324.tar.bz2
zsh-aa82bd7400d2c604987236f8f65c353143d56324.zip
terminal party show exit status with color
Diffstat (limited to 'themes')
-rw-r--r--themes/terminalparty.zsh-theme3
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/terminalparty.zsh-theme b/themes/terminalparty.zsh-theme
index 216ce37eb..cd7370bba 100644
--- a/themes/terminalparty.zsh-theme
+++ b/themes/terminalparty.zsh-theme
@@ -1,4 +1,4 @@
-PROMPT='%{$fg[green]%} %% '
+PROMPT='%(?,%{$fg[green]%},%{$fg[red]%}) %% '
# RPS1='%{$fg[blue]%}%~%{$reset_color%} '
RPS1='%{$fg[white]%}%2~$(git_prompt_info) %{$fg_bold[blue]%}%m%{$reset_color%}'
@@ -6,4 +6,3 @@ ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ⚡%{$fg[yellow]%}"
-