diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-07-18 01:09:13 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-09-08 01:27:07 +0300 |
commit | 1eec2257fbed8feb9cd3b6b4630e94f93e2a7f26 (patch) | |
tree | 878ee42241687183590a97898153e86012959ae5 /powerlevel9k.zsh-theme | |
parent | ef72eca28840e58cc80c7cd7ecf1958f74e47ac6 (diff) |
The longstatus-Segment should deactivate the foreground color after it is finished printing the content.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 689d4bac..a60f2022 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -662,15 +662,15 @@ prompt_longstatus() { symbols=() if [[ "$RETVAL" -ne 0 ]]; then - symbols+="%F{226}%? ↵" + symbols+="%F{226}%? ↵%f" bg="009" else - symbols+="%{%F{"046"}%}$(print_icon 'OK_ICON')" + symbols+="%F{046}$(print_icon 'OK_ICON')%f" bg="008" fi - [[ "$UID" -eq 0 ]] && symbols+="%{%F{yellow}%} $(print_icon 'ROOT_ICON')" - [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}$(print_icon 'BACKGROUND_JOBS_ICON')" + [[ "$UID" -eq 0 ]] && symbols+="%F{yellow} $(print_icon 'ROOT_ICON')%f" + [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%F{cyan}$(print_icon 'BACKGROUND_JOBS_ICON')%f" [[ -n "$symbols" ]] && $1_prompt_segment "$0" "$bg" "$DEFAULT_COLOR" "$symbols" } |