diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-06-18 04:08:43 +0200 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-06-18 04:53:08 +0200 |
commit | 3b6e12a8ce903c93127914b1beb5b203b10e1547 (patch) | |
tree | 6371be0599871dad2b02e47d1cb3e1b09903f184 /zsh-completion | |
parent | b1b7e18d21acb8a27912ea9e3bafef491fc16f63 (diff) | |
download | initscripts-3b6e12a8ce903c93127914b1beb5b203b10e1547.tar.xz |
rc.d: Update bash and zsh completion scripts
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zsh-completion b/zsh-completion index f1b7165..e5c2850 100644 --- a/zsh-completion +++ b/zsh-completion @@ -15,9 +15,12 @@ _rc.d () { curcontext="${curcontext%:*:*}:rc.d-${action}:" case $action in - list|help) + help) _arguments "*: :" ;; + list) + _arguments "2: :(started stopped)" + ;; start) _arguments "*: :($(comm -23 <(echo /etc/rc.d/*(N-*:t)|tr ' ' '\n') <(echo /run/daemons/*(N:t)|tr ' ' '\n')))" ;; |