Merge pull request #1258 from refacto/fix_zsh_completion

Fix zsh completion for _swaylock
This commit is contained in:
Drew DeVault 2017-07-03 14:30:10 -06:00 committed by Drew DeVault
parent 19233ee789
commit 6c8b1dbe72

View file

@ -6,7 +6,7 @@
_arguments -s \ _arguments -s \
'(-v --version)'{-v,--version}'[Show the version number and quit]' \ '(-v --version)'{-v,--version}'[Show the version number and quit]' \
'(-h --help)'{-h,--help}'[Show help message and quit]' \ '(-h --help)'{-h,--help}'[Show help message and quit]' \
'(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\ '(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]'\
'(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \ '(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \ '(-i --image)'{-i,--image}'[Display an image]:files:_files' \
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \ '(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \