summaryrefslogtreecommitdiff
path: root/provides
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-09-29 16:46:00 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-09-29 16:46:10 +0200
commit5225b8a61eb4f3d4ccfc4ae8ce191ff759294b92 (patch)
tree06e7663207eb6a363791f29d493452fe72fd092c /provides
parente0b9949d516be918bbb0695ac68164511aef8200 (diff)
Began mking ct add/remove wrappable
(accept more than one package argument)
Diffstat (limited to 'provides')
-rw-r--r--provides/zsh/completions/_ct4
1 files changed, 4 insertions, 0 deletions
diff --git a/provides/zsh/completions/_ct b/provides/zsh/completions/_ct
index 29625a5..0d0b105 100644
--- a/provides/zsh/completions/_ct
+++ b/provides/zsh/completions/_ct
@@ -71,6 +71,10 @@ function _ct_args {
;;
esac
}
+ } elif [[ ${words[1]} == (a|add) ]] {
+ _ct_notinstalled
+ } elif [[ ${words[1]} == (rm|remove) ]] {
+ _ct_installed
}
}