From eb3ddadc6c6a99526925434c3ed4a48e3303c6cf Mon Sep 17 00:00:00 2001 From: romkatv Date: Tue, 11 Feb 2020 13:14:04 +0100 Subject: add POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' to config templates --- config/p10k-rainbow.zsh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/p10k-rainbow.zsh') 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. -- cgit v1.2.3