]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
Also ignore files on current line when using Git.
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index b28757eec6fffce0634f977e02decfd7d8ffe674..f3bebe89faed8b340388cb1371fd149de2ceec44 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -123,8 +123,9 @@ zstyle ':completion:*' list-prompt '%p'
 # When unsetting variables make sure every variable name is only suggested
 # once.
 zstyle ':completion:*:unset:*' ignore-line yes
-# When working with mercurial don't complete the same file multiple times.
-zstyle ':completion:*:hg*:*' ignore-line yes
+# When working with Mercurial and Git don't complete the same file multiple
+# times. Very useful when completing file names.
+zstyle ':completion:*:(hg|git)*:*' ignore-line yes
 
 
 # ALIAS AND FUNCTION SETTINGS