diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-25 11:00:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-25 11:00:23 +0200 |
commit | 0224513a65be9558dd25a18832ee500d72f580e6 (patch) | |
tree | 6bb911c1c32e35970f117f133698f11a2f60abc5 | |
parent | 65e2d57542f28992a23021cfccb4f3eb5d957846 (diff) |
etc/completions/_np: Use _arguments
-rw-r--r-- | etc/completions/_np | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/etc/completions/_np b/etc/completions/_np index b60075a..bfefd7f 100644 --- a/etc/completions/_np +++ b/etc/completions/_np @@ -1,13 +1,9 @@ #compdef np ## vim:ft=zsh -local values +local arguments -values=( - 'album' - 'artist' - 'file' - 'song' - '' +arguments=( + '1:output:(album artist file song)' ) -_values -w -s ' ' 'now playing' $values +_arguments -s $arguments |