This commit is contained in:
Alex Light 2018-06-12 18:00:13 +00:00 committed by GitHub
commit 78fe4f7baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
plugins/optirun/_optirun Normal file
View file

@ -0,0 +1,19 @@
#compdef optirun
local curcontext="$curcontext" environ e
local -a args
zstyle -a ":completion:${curcontext}:" environ environ
for e in "${environ[@]}"
do local -x "$e"
done
args=(
'-V[show version]'
'-h[show help]'
)
_arguments $args \
'(-):command: _command_names -e' \
'*::arguments: _normal'