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 GitHub
commit ba78ea3e5f

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)' \