summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
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