summaryrefslogtreecommitdiff
path: root/provides/zsh
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-16 11:09:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-16 11:09:21 +0200
commit067ac74d5fdbacf1cfdc44623b98b79aa1ad05d2 (patch)
treeb21a41d27f85af1a1a715ac75625f706675858dc /provides/zsh
parentbaf926f51e3dc736b6af8535b41fe22a479bd032 (diff)
Finish "ct new"
Diffstat (limited to 'provides/zsh')
-rw-r--r--provides/zsh/completions/_ct7
1 files changed, 5 insertions, 2 deletions
diff --git a/provides/zsh/completions/_ct b/provides/zsh/completions/_ct
index 767ccd1..8afb9af 100644
--- a/provides/zsh/completions/_ct
+++ b/provides/zsh/completions/_ct
@@ -7,7 +7,7 @@ typeset expl
function _ct_action () {
_wanted action expl 'action' \
compadd add debug eval remove info list \
- log pull push refresh status update
+ log new pull push refresh status update
}
function _ct_installed () {
@@ -32,7 +32,7 @@ function _ct_args {
_ct_installed
;;
i|info)
- _ct_all
+ _ct_all
;;
a|add)
_ct_notinstalled
@@ -51,6 +51,9 @@ function _ct_args {
_wanted mode expl 'update target' \
compadd local remote
;;
+ n|new)
+ _message 'New package name'
+ ;;
*)
_message 'no more arguments'
;;