From 6f6c9b457e8f87a0605cee811cfe55b8c9856c8e Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 21 Feb 2020 15:30:54 +0100 Subject: [PATCH] bug fix: add a space before arrows in pure style; fixes #517 --- config/p10k-pure.zsh | 6 +++--- 1 file 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