summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-10 20:15:02 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-10 20:15:02 +0200
commitb856f67054be4e69cab62480514f65f378ccd867 (patch)
tree7c5b522ae602fd14b7ff449c1672164579742735 /etc/completions
parent01e769ae396ce093e5365aeddb2d58370a594456 (diff)
fixed the completion for now
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_pkg29
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