From 884086f48f55d27886bc0a24f82e5c2669df7a2d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 16 Jun 2009 23:33:41 +0200 Subject: pkg {local-,remote-,}update → pkg update {local,remote,} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- provides/zsh/completions/_pkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'provides') 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' ;; -- cgit v1.2.3