mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
make it easier to enable/disable useless vcs icons from the wizard
This commit is contained in:
parent
9a7d86d1f2
commit
bf5ad6d97a
2 changed files with 8 additions and 2 deletions
|
@ -297,7 +297,7 @@ fi
|
||||||
# If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info.
|
# If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info.
|
||||||
vcs="\${P9K_CONTENT:-$vcs}"
|
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=
|
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=
|
||||||
|
|
||||||
# Disable the default Git status formatting.
|
# Disable the default Git status formatting.
|
||||||
|
@ -310,6 +310,9 @@ fi
|
||||||
# Enable counters for staged, unstaged, etc.
|
# Enable counters for staged, unstaged, etc.
|
||||||
typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1
|
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
|
# 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
|
# using them. If you do, your prompt may become slow even when your current directory
|
||||||
# isn't in an svn or hg reposotiry.
|
# isn't in an svn or hg reposotiry.
|
||||||
|
|
|
@ -288,7 +288,7 @@ fi
|
||||||
# If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info.
|
# If P9K_CONTENT is not empty, leave it unchanged. It's either "loading" or from vcs_info.
|
||||||
vcs="\${P9K_CONTENT:-$vcs}"
|
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=
|
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=
|
||||||
|
|
||||||
# Disable the default Git status formatting.
|
# Disable the default Git status formatting.
|
||||||
|
@ -301,6 +301,9 @@ fi
|
||||||
# Enable counters for staged, unstaged, etc.
|
# Enable counters for staged, unstaged, etc.
|
||||||
typeset -g POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED,COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=-1
|
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
|
# 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
|
# using them. If you do, your prompt may become slow even when your current directory
|
||||||
# isn't in an svn or hg reposotiry.
|
# isn't in an svn or hg reposotiry.
|
||||||
|
|
Loading…
Reference in a new issue