From 99f0fdfaed7c9f03c703cecb2bcd62b43b945e9c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 31 Oct 2010 18:52:19 +0100 Subject: [PATCH] zsh/rc: Don't complete unwanted files with Vim. --- zsh/rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/rc b/zsh/rc index f9b13b0..6367ff4 100644 --- a/zsh/rc +++ b/zsh/rc @@ -492,6 +492,11 @@ zstyle ':completion:*:(mv|cp):*' ignore-line no # simpler. Thanks to Nomexous in #zsh on Freenode (2010-03-16 01:54) zstyle ':completion:*:*:-command-:*' ignored-patterns './config.*' +# Don't complete unwanted files with Vim. Thanks to Nomexous in #zsh on +# Freenode (2010-06-06 04:54 CEST). See below to complete them. +zstyle ':completion:*:*:vim:*:all-files' ignored-patterns '*.aux' '*.log' \ + '*.pdf' '*.class' + # Provide a fallback completer which always completes files. Useful when Zsh's # completion is too "smart". Thanks to Frank Terbeck # (http://www.zsh.org/mla/users/2009/msg01038.html). -- 2.45.2