diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-11 15:14:04 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-11 15:14:04 +0300 |
commit | eb3ddadc6c6a99526925434c3ed4a48e3303c6cf (patch) | |
tree | f209d77fc60aa41f1226bba8aece6734e6af72aa /config/p10k-rainbow.zsh | |
parent | 747b78ed476f048c9c481dd824b3d98d3441f820 (diff) |
add POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' to config templates
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r-- | config/p10k-rainbow.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
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. |