diff options
author | Tom Gundersen <teg@jklm.no> | 2011-06-18 22:30:22 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-06-18 22:30:22 +0200 |
commit | f5d571110b9cfe45ecb32602510c924409e52d63 (patch) | |
tree | f7738f1b652c909eb6b27103b6b9393e5af563a6 /zsh-completion | |
parent | 4cad51425325abf13b7a8772ff09f852238423c2 (diff) | |
parent | 042d197b4d989ec6461204b9d897054e5f5dd492 (diff) | |
download | initscripts-f5d571110b9cfe45ecb32602510c924409e52d63.tar.xz |
Merge remote-tracking branch 'seblu/master'
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')))" ;; |