From 7b19270dcf3d2acc92f961a96c541254dcf74a6b Mon Sep 17 00:00:00 2001 From: jsoizo Date: Mon, 10 Apr 2017 00:44:30 +0900 Subject: [PATCH] fix printing error message to file when cannot resolve highlighters directory location --- 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 e70e689..2c376e7 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -388,7 +388,7 @@ _zsh_highlight_bind_widgets || { # Resolve highlighters directory location. _zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${0:A}:h}/highlighters}" || { - print -r -- >&@ 'zsh-syntax-highlighting: failed loading highlighters, exiting.' + print -r -- >&2 'zsh-syntax-highlighting: failed loading highlighters, exiting.' return 1 }