aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-29 02:42:50 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-29 02:42:50 +0100
commit65a03ab502b450df68cd9e14d8aa53dfc70618cb (patch)
tree50d210fbb7833b5d081b0673a7c49aba48614c09
parenta64e28135617574bb46fb9af9139b7283625ab6d (diff)
Add files completion to _swaylock
-rw-r--r--completions/zsh/_swaylock6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/zsh/_swaylock b/completions/zsh/_swaylock
index 6163c089..2a4febc2 100644
--- a/completions/zsh/_swaylock
+++ b/completions/zsh/_swaylock
@@ -6,6 +6,6 @@
_arguments -s \
'(-v --version)'{-v,--version}'[Show the version number and quit]' \
'(-h --help)'{-h,--help}'[Show help message and quit]' \
- '(-c --color)'{-c --color}'[Specify a color (rrggbb) instead of white]' \
- '(-i --image)'{-i --image}'[Display an image]' \
- '(-s --scaling)'{-s --scaling}'[Scaling mode: stretch, fill, fit, center, tile]'
+ '(-c --color)'{-c,--color}'[Specify a color (rrggbb) instead of white]:files:_files' \
+ '(-i --image)'{-i,--image}'[Display an image]' \
+ '(-s --scaling)'{-s,--scaling}'[Scaling mode: stretch, fill, fit, center, tile]'