diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-07 11:30:32 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-12-07 11:30:32 -0600 |
commit | 6c456f9383ab0000527b4363bc82fc17850aba18 (patch) | |
tree | a481adfeaf5db2dd56c3b87538f1269ad68ef1d2 /zsh-completion/_openrc | |
parent | d220fc272337b216bff6ac781a7b6be4e6f3caee (diff) |
Add zsh-completion support
Diffstat (limited to 'zsh-completion/_openrc')
-rw-r--r-- | zsh-completion/_openrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh-completion/_openrc b/zsh-completion/_openrc new file mode 100644 index 00000000..3336b44b --- /dev/null +++ b/zsh-completion/_openrc @@ -0,0 +1,7 @@ +#compdef openrc + +if (( CURRENT == 2 )); then + _values "runlevels" $(rc-status --list) +fi + +# vim: set et sw=2 ts=2 ft=zsh: |