diff options
author | Clint Adams <clint@users.sourceforge.net> | 2006-07-19 23:46:16 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2006-07-19 23:46:16 +0000 |
commit | 6ca7b6abdf90d68c64bd57ac07d8a52ac6dc075b (patch) | |
tree | 53ee48be510ccb3906d2c3180314c3fba31af23d | |
parent | 732e440159785173d438bf0901e9b038c4bdfb6e (diff) | |
download | zsh-6ca7b6abdf90d68c64bd57ac07d8a52ac6dc075b.tar.gz zsh-6ca7b6abdf90d68c64bd57ac07d8a52ac6dc075b.tar.xz zsh-6ca7b6abdf90d68c64bd57ac07d8a52ac6dc075b.zip |
22554: completion for vorbiscomment.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_vorbiscomment | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f7cec8640..130dfc92c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-18 Clint Adams <clint@zsh.org> + + * 22554: Jesse Weinstein: Completion/Unix/Command/_vorbiscomment: + completion for vorbiscomment. + 2006-07-18 Peter Stephenson <pws@csr.com> * unposted: **/.distfiles: update distributed files. diff --git a/Completion/Unix/Command/_vorbiscomment b/Completion/Unix/Command/_vorbiscomment new file mode 100644 index 000000000..4cefe1a1a --- /dev/null +++ b/Completion/Unix/Command/_vorbiscomment @@ -0,0 +1,18 @@ +#compdef vorbiscomment + +#Written by Jesse Weinstein <jessw@netwood.net>, Wed Jul 19 15:31:11 2006 +#Version 0.9 - could handle -t option slightly better +#Released under the MIT license (or any compatible free-content license) +#i.e. do whatever you like with it, but credit me. + +_arguments \ + '-h[help]' \ + '-q[quiet]' \ + '(-a -w -q -c -t 2)-l[list comments]' \ + '(-l)-a[append comments]' \ + '(-l)-w[overwrite comments]' \ + '(-l -c)-t[tag and value]:: ' \ + '(-l -t)-c[tag file]::_files' \ + '1:OGG file:_files -g \*.ogg' \ + '(-l)2:output OGG file:_files -g \*.ogg' \ + && return 0 |