diff options
author | Starfall <us@starfall.systems> | 2021-02-08 15:02:34 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-02-08 15:14:01 -0600 |
commit | 6588c6ce71e5be332308ae7bdfa97e8eaa081e9e (patch) | |
tree | a7dc47c5872803b82bd4f1e46df9a173cfe5839c /.config | |
parent | 205ffe0cf4c7b839d9bd09454244a3be5eddc082 (diff) |
zsh: disable vcs_info except for git
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 8822bfc..a845f39 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -99,9 +99,9 @@ function spacetotab () { # TODO only color the last segment of the path (pwd) setopt prompt_subst autoload -Uz vcs_info +zstyle ':vcs_info:*' enable git zstyle ':vcs_info:*' actionformats '%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' zstyle ':vcs_info:*' formats '%F{5}[%F{2}%b%F{5}]%f ' -zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' precmd () { vcs_info } user="%n" |