diff options
author | Robby Russell <robby@planetargon.com> | 2014-07-15 07:34:23 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-07-15 07:34:23 -0700 |
commit | f9bb10d1610f21d40065928a0b6540c5111fbf1a (patch) | |
tree | 179f82ab0038d7a636135ac4c18e5913a4470f09 | |
parent | 7e8177b09443f942084f9e7f3bfb5b2c9ce1ba27 (diff) | |
parent | aa82bd7400d2c604987236f8f65c353143d56324 (diff) | |
download | zsh-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
-rw-r--r-- | themes/terminalparty.zsh-theme | 3 |
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]%}" - |