Finds highlighters dir a little better
This commit is contained in:
parent
e5d8a50d36
commit
0fcc2629d2
@ -198,7 +198,7 @@ _zsh_highlight_bind_widgets || {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Resolve highlighters directory location.
|
# Resolve highlighters directory location.
|
||||||
_zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${0:h}/highlighters}" || {
|
_zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-$(dirname "$(readlink -f $0)")/highlighters}" || {
|
||||||
echo 'zsh-syntax-highlighting: failed loading highlighters, exiting.' >&2
|
echo 'zsh-syntax-highlighting: failed loading highlighters, exiting.' >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user