diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/p10k-classic.zsh | 5 | ||||
-rw-r--r-- | config/p10k-lean-8colors.zsh | 5 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 5 | ||||
-rw-r--r-- | config/p10k-rainbow.zsh | 5 |
4 files changed, 20 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. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 0f8044be..e22bf712 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -454,6 +454,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. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 334efc35..515f8604 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -454,6 +454,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. diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 3c86ed01..1088de91 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -457,6 +457,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. |