From 0224513a65be9558dd25a18832ee500d72f580e6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 25 Jul 2008 11:00:23 +0200 Subject: etc/completions/_np: Use _arguments --- etc/completions/_np | 12 ++++-------- 1 file 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 -- cgit v1.2.3