Merge pull request #2470 from ianyfan/completions

[WIP?] Fix zsh completions
This commit is contained in:
emersion 2018-08-22 09:35:17 +01:00 committed by GitHub
commit f53c28d52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@
_arguments -s \
'(-v --version)'{-v,--version}'[Show the version number 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)]' \
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]'
'(--socket)'{--socket}'[Use the specified socket path.]:files:_files' \
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]' \
'(--socket)'--socket'[Use the specified socket path.]:files:_files' \