Stops zsh from trying to set the terminal color scheme over ssh

This commit is contained in:
Jonathan Hodgson 2019-08-02 19:47:24 +01:00
parent ad52b71067
commit c191d2ddbc

View file

@ -87,8 +87,10 @@ source $ZSH/oh-my-zsh.sh
source ~/.dotfiles/shells/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
if [ -L $HOME/.dotfiles/shells/zsh/current-color-scheme ]; then
source $HOME/.dotfiles/shells/zsh/current-color-scheme
if [ ! -n "$SSH_CLIENT" ] && [ ! -n "$SSH_TTY" ]; then
if [ -L $HOME/.dotfiles/shells/zsh/current-color-scheme ]; then
source $HOME/.dotfiles/shells/zsh/current-color-scheme
fi
fi
TRAPWINCH(){