aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-11 15:14:04 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-11 15:14:04 +0300
commiteb3ddadc6c6a99526925434c3ed4a48e3303c6cf (patch)
treef209d77fc60aa41f1226bba8aece6734e6af72aa /config/p10k-classic.zsh
parent747b78ed476f048c9c481dd824b3d98d3441f820 (diff)
add POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' to config templates
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 60a044a7..36de5ecf 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -453,6 +453,11 @@
# config: `git config bash.showDirtyState false`.
typeset -g POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY=-1
+ # Don't show Git status in prompt for repositories whose workdir matches this pattern.
+ # For example, if set to '~', the Git repository at $HOME/.git will be ignored.
+ # Multiple patterns can be combined with '|': '~|~/some/dir'.
+ typeset -g POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~'
+
# Disable the default Git status formatting.
typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true
# Install our own Git status formatter.