diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-09-08 21:00:18 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-09-08 21:00:18 +0300 |
commit | 9ce277d17999448af21afcf3f4695892692351c6 (patch) | |
tree | 35affd10c8d97695f4c2d57820fe918a1d60f6a3 /config/p10k-lean.zsh | |
parent | eabdc9dc2e753599c34f4aadeefff4c68d7f5175 (diff) |
strip hexadecimal colors from vcs when loading; see #207
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r-- | config/p10k-lean.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index acf33730..1fb94c63 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -15,7 +15,7 @@ fi () { emulate -L zsh - setopt no_unset + setopt no_unset extended_glob zmodload zsh/langinfo if [[ ${langinfo[CODESET]:-} != (utf|UTF)(-|)8 ]]; then local LC_ALL=${${(@M)$(locale -a):#*.(utf|UTF)(-|)8}[1]:-en_US.UTF-8} @@ -342,7 +342,7 @@ fi # Install our own Git status formatter. typeset -g POWERLEVEL9K_VCS_{CLEAN,UNTRACKED,MODIFIED}_CONTENT_EXPANSION=$vcs # When Git status is being refreshed asynchronously, display the last known repo status in grey. - typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION=${${vcs//\%f}//\%<->F} + typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION=${${${vcs//\%f}//\%<->F}//\%F\{(\#|)[[:xdigit:]]#(\\|)\}} # Enable counters for staged, unstaged, etc. typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,CONFLICTED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 |