added optirun plugin completion
This commit is contained in:
parent
ec37c05cb3
commit
35f42f021b
19
plugins/optirun/_optirun
Normal file
19
plugins/optirun/_optirun
Normal 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'
|
Loading…
Reference in New Issue
Block a user