From 6c456f9383ab0000527b4363bc82fc17850aba18 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 7 Dec 2017 11:30:32 -0600 Subject: Add zsh-completion support --- zsh-completion/_openrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 zsh-completion/_openrc (limited to 'zsh-completion/_openrc') 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: -- cgit v1.2.3