summaryrefslogtreecommitdiff
path: root/themes/terminalparty.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-07-15 07:34:23 -0700
committerRobby Russell <robby@planetargon.com>2014-07-15 07:34:23 -0700
commitf9bb10d1610f21d40065928a0b6540c5111fbf1a (patch)
tree179f82ab0038d7a636135ac4c18e5913a4470f09 /themes/terminalparty.zsh-theme
parent7e8177b09443f942084f9e7f3bfb5b2c9ce1ba27 (diff)
parentaa82bd7400d2c604987236f8f65c353143d56324 (diff)
downloadzsh-f9bb10d1610f21d40065928a0b6540c5111fbf1a.tar.gz
zsh-f9bb10d1610f21d40065928a0b6540c5111fbf1a.tar.bz2
zsh-f9bb10d1610f21d40065928a0b6540c5111fbf1a.zip
Merge pull request #2940 from hayd/status_code
terminal party show exit status with color
Diffstat (limited to 'themes/terminalparty.zsh-theme')
-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]%}"
-