]> git.donarmstrong.com Git - zsh.git/commitdiff
fold fignore into ignored-patterns
authormartin f. krafft <madduck@madduck.net>
Sun, 18 May 2008 16:11:03 +0000 (17:11 +0100)
committermartin f. krafft <madduck@madduck.net>
Sun, 18 May 2008 16:11:03 +0000 (17:11 +0100)
.zsh/zshrc/20_compsys

index 57811dcb9a30c7e2ed3aca2386fa0a3cea2a56fc..8c389c78e0f95c07822abe5ea9d498eb23b4dd5d 100644 (file)
@@ -46,9 +46,9 @@ zstyle ':completion:*:*:*:*' menu select
 # use colours in completion lists and menus
 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
 
-# ignore working and backup copies
+# ignore working and backup copies, and compiled objects
 zstyle ':completion:*:(all-|)files' ignored-patterns \
-  '*.bk' '*.bak' '*.old' '*~' '.*.sw?'
+  '*.bk' '*.bak' '*.old' '*~' '.*.sw?' '*.o' '*.pyc'
 
 zstyle -e ':completion:*:approximate:*' max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3)) numeric )'
 
@@ -94,6 +94,4 @@ zstyle ':completion:*:messages' format '%d'
 zstyle ':completion:*:warnings' format 'no matches for: %d'
 zstyle ':completion:*' group-name ''
 
-fignore=(~ .o .pyc)
-
 # vim:ft=zsh