From bf5ad6d97a45c78227f82c6c28939947df22d66c Mon Sep 17 00:00:00 2001 From: romkatv Date: Mon, 29 Jul 2019 12:48:18 +0200 Subject: [PATCH] make it easier to enable/disable useless vcs icons from the wizard --- config/p10k-classic.zsh | 5 ++++- config/p10k-lean.zsh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 7ab518c3..40046753 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -297,7 +297,7 @@ fi # If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info. vcs="\${P9K_CONTENT:-$vcs}" - # Branch icon. Set this parameter to $'\uF126 ' for the popular Powerline branch icon. + # Branch icon. Set this parameter to $'\uF126' for the popular Powerline branch icon. typeset -g POWERLEVEL9K_VCS_BRANCH_ICON= # Disable the default Git status formatting. @@ -310,6 +310,9 @@ fi # Enable counters for staged, unstaged, etc. typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 + # Custom icon. + # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Show status of repositories of these types. You can add svn and/or hg if you are # using them. If you do, your prompt may become slow even when your current directory # isn't in an svn or hg reposotiry. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index bdaf291b..dad46c28 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -288,7 +288,7 @@ fi # If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info. vcs="\${P9K_CONTENT:-$vcs}" - # Branch icon. Set this parameter to $'\uF126 ' for the popular Powerline branch icon. + # Branch icon. Set this parameter to $'\uF126' for the popular Powerline branch icon. typeset -g POWERLEVEL9K_VCS_BRANCH_ICON= # Disable the default Git status formatting. @@ -301,6 +301,9 @@ fi # Enable counters for staged, unstaged, etc. typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1 + # Custom icon. + # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐' + # Show status of repositories of these types. You can add svn and/or hg if you are # using them. If you do, your prompt may become slow even when your current directory # isn't in an svn or hg reposotiry.