diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-10 20:15:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-10 20:15:02 +0200 |
commit | b856f67054be4e69cab62480514f65f378ccd867 (patch) | |
tree | 7c5b522ae602fd14b7ff449c1672164579742735 /etc | |
parent | 01e769ae396ce093e5365aeddb2d58370a594456 (diff) |
fixed the completion for now
Diffstat (limited to 'etc')
-rw-r--r-- | etc/completions/_pkg | 29 |
1 files 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 |