about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zshrc2
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"