summaryrefslogtreecommitdiff
path: root/provides/zsh/completions/_pkg
diff options
context:
space:
mode:
Diffstat (limited to 'provides/zsh/completions/_pkg')
-rw-r--r--provides/zsh/completions/_pkg6
1 files changed, 5 insertions, 1 deletions
diff --git a/provides/zsh/completions/_pkg b/provides/zsh/completions/_pkg
index 6b00e93..4fe4922 100644
--- a/provides/zsh/completions/_pkg
+++ b/provides/zsh/completions/_pkg
@@ -10,7 +10,7 @@ typeset expl
function _pkg_action () {
_wanted action expl 'action' \
compadd add install delete eval remove info list \
- local-update log pull push remote-update refresh status update upgrade
+ log pull push refresh status update upgrade
}
function _pkg_installed () {
@@ -50,6 +50,10 @@ function _pkg_args {
_wanted something expl 'list mode' \
compadd all local not-installed
;;
+ update)
+ _wanted mode expl 'update target' \
+ compadd local remote
+ ;;
*)
_message 'no more arguments'
;;