From: Simon Ruderich Date: Mon, 13 Sep 2010 23:10:12 +0000 (+0200) Subject: zsh/rc: Don't complete ./config.* files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=4294da34e17d28287d38170da63c7b09904f95ac;p=config%2Fdotfiles.git zsh/rc: Don't complete ./config.* files. --- diff --git a/zsh/rc b/zsh/rc index df4d357..21b65a9 100644 --- a/zsh/rc +++ b/zsh/rc @@ -488,6 +488,9 @@ zstyle ':completion:*' ignore-line yes # Except for mv and cp, because I often want to use to similar names, so I # complete to the same and change it. zstyle ':completion:*:(mv|cp):*' ignore-line no +# Don't complete ./config.* files, this makes running ./configure much +# simpler. Thanks to Nomexous in #zsh on Freenode (2010-03-16 01:54) +zstyle ':completion:*:*:-command-:*' ignored-patterns './config.*' # Provide a fallback completer which always completes files. Useful when Zsh's # completion is too "smart". Thanks to Frank Terbeck