summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-18 01:07:31 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-09-08 01:18:02 +0300
commitef72eca28840e58cc80c7cd7ecf1958f74e47ac6 (patch)
treecd1b30c21c67a1ac91fdbafc13bbff200d373a02 /powerlevel9k.zsh-theme
parent3da637cfd61dd7022ca0bc14e06ecef36c4a533b (diff)
Better structure: The right prompt should deactivate the foreground color, after it is finished printing the content.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 50a745ae..689d4bac 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -417,8 +417,8 @@ right_prompt_segment() {
local bg fg
[[ -n $2 ]] && bg="%K{$2}" || bg="%k"
[[ -n $3 ]] && fg="%F{$3}" || fg="%f"
- echo -n "%f%F{$2}$(print_icon 'RIGHT_SEGMENT_SEPARATOR')%f%{$bg%}%{$fg%} "
- [[ -n $4 ]] && echo -n "$4 "
+ echo -n "%F{$2}$(print_icon 'RIGHT_SEGMENT_SEPARATOR')%f%{$bg%}%{$fg%} "
+ [[ -n $4 ]] && echo -n "$4 %f"
}
################################################################