Disable syntax highlight if ssh

This commit is contained in:
Henrik Lissner 2015-12-09 01:49:16 -05:00
parent ec52621f48
commit 204a246a64

2
zshrc
View file

@ -17,11 +17,11 @@ if [ ! $TERM = dumb ]; then
if ! zgen saved; then if ! zgen saved; then
echo "Creating zgen save" echo "Creating zgen save"
zgen load zsh-users/zsh-syntax-highlighting
zgen load zsh-users/zsh-history-substring-search zgen load zsh-users/zsh-history-substring-search
zgen load zsh-users/zsh-completions src zgen load zsh-users/zsh-completions src
zgen load Tarrasch/zsh-bd zgen load Tarrasch/zsh-bd
zgen load houjunchen/zsh-vim-mode 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/config.zsh
zgen load $DOTFILES/zsh/completion.zsh zgen load $DOTFILES/zsh/completion.zsh