summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-25 11:00:23 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-25 11:00:23 +0200
commit0224513a65be9558dd25a18832ee500d72f580e6 (patch)
tree6bb911c1c32e35970f117f133698f11a2f60abc5 /etc/completions
parent65e2d57542f28992a23021cfccb4f3eb5d957846 (diff)
etc/completions/_np: Use _arguments
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_np12
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