#535: locally enable BARE_GLOB_QUAL option when loading highlighters

This commit is contained in:
Julien Nicoulaud 2018-09-22 22:50:46 +02:00
parent 8348e2d2cc
commit 3a7ddcda0b
No known key found for this signature in database
GPG Key ID: D713C40AA20BF77D

View File

@ -363,7 +363,7 @@ _zsh_highlight_bind_widgets()
# 1) Path to the highlighters directory. # 1) Path to the highlighters directory.
_zsh_highlight_load_highlighters() _zsh_highlight_load_highlighters()
{ {
setopt localoptions noksharrays setopt localoptions noksharrays bareglobqual
# Check the directory exists. # Check the directory exists.
[[ -d "$1" ]] || { [[ -d "$1" ]] || {