From b856f67054be4e69cab62480514f65f378ccd867 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 10 Jun 2008 20:15:02 +0200 Subject: fixed the completion for now --- etc/completions/_pkg | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/etc/completions/_pkg b/etc/completions/_pkg index d9d2781..4953a81 100644 --- a/etc/completions/_pkg +++ b/etc/completions/_pkg @@ -1,16 +1,21 @@ #compdef pkg ## vim:ft=zsh -_x_arguments -C -s \ - 'add' \ - 'changelog' \ - 'changeroot' \ - 'delete' \ - 'info' \ - 'install' \ - 'list' \ - 'list-all' \ - 'log' \ - 'status' \ +local values + +values=( + 'add' + 'changelog' + 'changeroot' + 'delete' + 'info' + 'install' + 'list' + 'list-all' + 'log' + 'remove' + 'status' 'update' - '*' + '' +) +_values -w -s ' ' 'pkg function' $values -- cgit v1.2.3