diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-23 21:03:53 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-23 21:03:53 +0100 |
commit | 77ec902cb924932338f544f344821abc8724853a (patch) | |
tree | 142f3fe5e026f22f5d1dd1aed2a21c2aeae41b04 /etc/completion | |
parent | c78236da4c6836da5d044e35e8d074fbdffc7755 (diff) |
completion: complete flac files for mplayer
Diffstat (limited to 'etc/completion')
-rw-r--r-- | etc/completion | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/completion b/etc/completion index 6b5360d..0f5af5d 100644 --- a/etc/completion +++ b/etc/completion @@ -32,6 +32,11 @@ unset char zstyle ':completion:*:*:kill:*' menu yes zstyle ':completion:*:*:(todo|td*):*:items' menu yes +# mplayer does not complete flac by default +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' + # 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"' |