aa82bd7400d2c604987236f8f65c353143d56324
- Author
- Andy Hayden <andyhayden1@gmail.com>
- Committer
- Andy Hayden <andyhayden1@gmail.com>
- Date
Message
terminal party show exit status with color
Diff
1diff --git a/themes/terminalparty.zsh-theme b/themes/terminalparty.zsh-theme
2index 216ce37eb4e682d7e0e999f779b84875a629a379..cd7370bbac47381b53591756cf4e650f2c0ef4d3 100644
3--- a/themes/terminalparty.zsh-theme
4+++ b/themes/terminalparty.zsh-theme
5@@ -1,4 +1,4 @@
6-PROMPT='%{$fg[green]%} %% '
7+PROMPT='%(?,%{$fg[green]%},%{$fg[red]%}) %% '
8 # RPS1='%{$fg[blue]%}%~%{$reset_color%} '
9 RPS1='%{$fg[white]%}%2~$(git_prompt_info) %{$fg_bold[blue]%}%m%{$reset_color%}'
10
11@@ -6,4 +6,3 @@ ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}("
12 ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
13 ZSH_THEME_GIT_PROMPT_CLEAN=""
14 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ⚡%{$fg[yellow]%}"
15-