From b526fa385db9b456b5929bd693470bd566f454a1 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sun, 8 Sep 2019 15:48:00 +0300 Subject: [PATCH] [zsh] disable syntax highlighting in the Linux console (tty) --- zsh/plugins.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/plugins.zsh b/zsh/plugins.zsh index 0ab3939..db7fbae 100644 --- a/zsh/plugins.zsh +++ b/zsh/plugins.zsh @@ -85,4 +85,6 @@ plugin base16-shell 'chriskempson/base16-shell' \ after_load='export BASE16_SHELL="$plugin_dir"' FAST_WORK_DIR="$ZSH_CACHE_DIR" -plugin fast-syntax-highlighting 'zdharma/fast-syntax-highlighting' +if [[ "$TERM" != "linux" ]]; then + plugin fast-syntax-highlighting 'zdharma/fast-syntax-highlighting' +fi