summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-24 12:16:29 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-24 12:16:29 +0100
commit859041372ebc1ecd800b8c7c1fa4c6330cc269ee (patch)
treeab936bc2c34382375067046d8a16ea998faeeb0e /etc
parent77ec902cb924932338f544f344821abc8724853a (diff)
completion: Added ignored patterns for vim
Diffstat (limited to 'etc')
-rw-r--r--etc/completion3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/completion b/etc/completion
index 0f5af5d..538f9af 100644
--- a/etc/completion
+++ b/etc/completion
@@ -37,6 +37,9 @@ zstyle ':completion:*:*:mplayer:*' file-patterns \
'*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)' \
'*(-/):directories' '*:all-files'
+zstyle ':completion:*:*:vi(m|):*' ignored-patterns \
+ 'a.out|*.o'
+
# fancy kill completion
# source: http://madism.org/~madcoder/dotfiles/zsh/40_completion
zstyle ':completion:*:processes' command 'ps -au$USER -o pid,time,cmd|grep -v "ps -au$USER -o pid,time,cmd"'