mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
43697: match uppercase filename extensions in zathura completion
This commit is contained in:
parent
8c57505314
commit
ef58491092
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
2018-10-17 Oliver Kiddle <okiddle@yahoo.co.uk>
|
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
|
* 43698: Completion/Unix/Command/_git: update options for 2.19
|
||||||
|
|
||||||
2018-10-16 Daniel Shahaf <d.s@daniel.shahaf.name>
|
2018-10-16 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||||
|
|
|
@ -11,7 +11,7 @@ _zathura_files(){
|
||||||
plugins_files+=( $plugins_dir/*.so(N) )
|
plugins_files+=( $plugins_dir/*.so(N) )
|
||||||
done
|
done
|
||||||
if [[ -z "${plugins_files}" ]]; then
|
if [[ -z "${plugins_files}" ]]; then
|
||||||
_files -g "*.pdf(-.)"
|
_files -g "(#i)*.pdf(-.)"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
local -a supported_filetypes
|
local -a supported_filetypes
|
||||||
|
@ -27,7 +27,7 @@ _zathura_files(){
|
||||||
supported_filetypes+="${pf:t:r}"
|
supported_filetypes+="${pf:t:r}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
_files -g "*.(${(j.|.)${(@u)supported_filetypes}})(-.)"
|
_files -g "(#i)*.(${(j.|.)${(@u)supported_filetypes}})(-.)"
|
||||||
}
|
}
|
||||||
|
|
||||||
_arguments -s -S \
|
_arguments -s -S \
|
||||||
|
|
Loading…
Reference in a new issue