[zsh] disable syntax highlighting in the Linux console (tty)

This commit is contained in:
Dmytro Meleshko 2019-09-08 15:48:00 +03:00
parent d184233b67
commit b526fa385d

View file

@ -85,4 +85,6 @@ plugin base16-shell 'chriskempson/base16-shell' \
after_load='export BASE16_SHELL="$plugin_dir"' after_load='export BASE16_SHELL="$plugin_dir"'
FAST_WORK_DIR="$ZSH_CACHE_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