diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-21 17:30:54 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-21 17:30:54 +0300 |
commit | 6f6c9b457e8f87a0605cee811cfe55b8c9856c8e (patch) | |
tree | 2d87afb0908ed966c0afbe243d30c2eb395e2df0 /config/p10k-pure.zsh | |
parent | 678733c68f3d367e9019179e03faafd21da40244 (diff) |
bug fix: add a space before arrows in pure style; fixes #517
Diffstat (limited to 'config/p10k-pure.zsh')
-rw-r--r-- | config/p10k-pure.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/p10k-pure.zsh b/config/p10k-pure.zsh index d0e4da92..fcae29fc 100644 --- a/config/p10k-pure.zsh +++ b/config/p10k-pure.zsh @@ -137,13 +137,13 @@ # Show '*' when there are staged, unstaged or untracked files. typeset -g POWERLEVEL9K_VCS_DIRTY_ICON='*' # Show '⇣' if local branch is behind remote. - typeset -g POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON='⇣' + typeset -g POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON=':⇣' # Show '⇡' if local branch is ahead of remote. - typeset -g POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON='⇡' + typeset -g POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON=':⇡' # Don't show the number of commits next to the ahead/behind arrows. typeset -g POWERLEVEL9K_VCS_{COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=1 # Remove space between '⇣' and '⇡' and all trailing spaces. - typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${${P9K_CONTENT/⇣* ⇡/⇣⇡}// }' + typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${${${P9K_CONTENT/⇣* :⇡/⇣⇡}// }//:/ }' # Grey current time. typeset -g POWERLEVEL9K_TIME_FOREGROUND=$grey |