mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-06 09:55:31 +08:00
Merge pull request #110 from xaocon/master
small change to find highlighting directory better
This commit is contained in:
commit
072c064d2a
@ -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:-${${0:A}:h}/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