From 204a246a6490cd81c7b75bf9ca2de48617e269c6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 9 Dec 2015 01:49:16 -0500 Subject: [PATCH] Disable syntax highlight if ssh --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index c4187a63..69989527 100644 --- a/zshrc +++ b/zshrc @@ -17,11 +17,11 @@ if [ ! $TERM = dumb ]; then if ! zgen saved; then echo "Creating zgen save" - zgen load zsh-users/zsh-syntax-highlighting zgen load zsh-users/zsh-history-substring-search zgen load zsh-users/zsh-completions src zgen load Tarrasch/zsh-bd zgen load houjunchen/zsh-vim-mode + [[ "$SSH_CONNECTION" == '' ]] && zgen load zsh-users/zsh-syntax-highlighting zgen load $DOTFILES/zsh/config.zsh zgen load $DOTFILES/zsh/completion.zsh