From ef584910922b1c46781d397165c17473e94dbbe0 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 17 Oct 2018 17:57:58 +0200 Subject: 43697: match uppercase filename extensions in zathura completion --- Completion/X/Command/_zathura | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/X') 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 \ -- cgit 1.4.1