void-packages/srcpkgs/swayimg/patches/0001-fix-zsh-completion.patch

24 lines
1.1 KiB
Diff

From e938dc5b04bb54dd3f3a89a71d46c7a53ac087bd Mon Sep 17 00:00:00 2001
From: Leon <adigitoleo@dissimulo.com>
Date: Wed, 31 Aug 2022 23:07:23 +1000
Subject: [PATCH] Fix typo in zsh completion
Signed-off-by: Leon <adigitoleo@dissimulo.com>
---
extra/zsh.completion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extra/zsh.completion b/extra/zsh.completion
index a690528..32b159b 100644
--- a/extra/zsh.completion
+++ b/extra/zsh.completion
@@ -8,7 +8,7 @@ _arguments \
'(-r --recursive)'{-r,--recursive}'[read directories recursively]' \
'(-a --all)'{-a,--all}'[open all files from the same directory]' \
'(-m --mark)'{-m,--mark}'[enable marking mode]' \
- '(-l --slideshow)'{-l --slideshow}'[activate slideshow mode on startup]' \
+ '(-l --slideshow)'{-l,--slideshow}'[activate slideshow mode on startup]' \
'(-f --fullscreen)'{-f,--fullscreen}'[show image in full screen mode]' \
'(-s --scale=SCALE)'{-s,--scale=}'[set initial image scale]:scale:(optimal fit real)' \
'(-b --background)'{-b,--background=}'[set image background color]:bkg:(none grid)' \