mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Merge 4ed9f9a68f into e04f6ab862
This commit is contained in:
commit
904c5902a5
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ zmodload zsh/zleparameter 2>/dev/null || {
|
|||
}
|
||||
|
||||
# Resolve highlighters directory location.
|
||||
highlighters_dir="${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${(%):-%N}:A:h}/highlighters}"
|
||||
highlighters_dir=`dirname $0`/highlighters
|
||||
[[ -d $highlighters_dir ]] || {
|
||||
echo "zsh-syntax-highlighting: highlighters directory '$highlighters_dir' not found, exiting." >&2
|
||||
return -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue