about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-10-17 17:57:58 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-10-17 17:57:58 +0200
commitef584910922b1c46781d397165c17473e94dbbe0 (patch)
tree4a450fa2d1e2aa30dd9e119cb5c8335b7e99eecb /Completion/X
parent8c57505314a2ef29223f29fb2cc9eb317c0eafc3 (diff)
downloadzsh-ef584910922b1c46781d397165c17473e94dbbe0.tar.gz
zsh-ef584910922b1c46781d397165c17473e94dbbe0.tar.xz
zsh-ef584910922b1c46781d397165c17473e94dbbe0.zip
43697: match uppercase filename extensions in zathura completion
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_zathura4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/Command/_zathura b/Completion/X/Command/_zathura
index 615488068..ebd229909 100644
--- a/Completion/X/Command/_zathura
+++ b/Completion/X/Command/_zathura
@@ -11,7 +11,7 @@ _zathura_files(){
     plugins_files+=( $plugins_dir/*.so(N) )
   done
   if [[ -z "${plugins_files}" ]]; then
-    _files -g "*.pdf(-.)"
+    _files -g "(#i)*.pdf(-.)"
     return
   fi
   local -a supported_filetypes
@@ -27,7 +27,7 @@ _zathura_files(){
       supported_filetypes+="${pf:t:r}"
     fi
   done
-  _files -g "*.(${(j.|.)${(@u)supported_filetypes}})(-.)"
+  _files -g "(#i)*.(${(j.|.)${(@u)supported_filetypes}})(-.)"
 }
 
 _arguments -s -S \