forked from virt-mirrors/wayneko
Add zsh completions
This commit is contained in:
parent
163e18e205
commit
c1919dc3a7
2 changed files with 20 additions and 0 deletions
17
zsh-completion
Normal file
17
zsh-completion
Normal file
|
@ -0,0 +1,17 @@
|
|||
#compdef wayneko
|
||||
|
||||
types=('neko' 'inu' 'random')
|
||||
layers=('background' 'bottom' 'top' 'overlay')
|
||||
bools=('true' 'false')
|
||||
|
||||
_arguments '--help[Print help]' \
|
||||
'--outline-colour:0xRRGGBB[AA]' \
|
||||
'--background-colour:0xRRGGBB[AA]' \
|
||||
'--type[Animal type]:type:{_describe "type" types}' \
|
||||
'--idle-sleep:integer' \
|
||||
'--sleepiness:integer' \
|
||||
'--sleepiness-night:integer' \
|
||||
'--layer[Layer for the surface]:layer:{_describe "layer" layers}' \
|
||||
'--follow-pointer[Follows pointer]:bool:{_describe "bool" bools}' \
|
||||
'--survive-close[Can migrate outputs if closed]' \
|
||||
&& return 0
|
Loading…
Add table
Add a link
Reference in a new issue