From 4ed9f9a68f4aa9b18f9cafd711c95f1079ebe497 Mon Sep 17 00:00:00 2001 From: Ted Naleid Date: Wed, 29 Jun 2011 21:32:58 -0500 Subject: [PATCH] fix for issue #60, unrecognized modifier 'A' on startup --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 36e9fe7..5de1748 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -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