summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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