about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/X/Command/_zathura4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a9e1cdd1..7bf8b3485 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-10-17  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* 43697: Completion/X/Command/_zathura: match uppercase
+	filename extensions
+
 	* 43698: Completion/Unix/Command/_git: update options for 2.19
 
 2018-10-16  Daniel Shahaf  <d.s@daniel.shahaf.name>
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 \