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

master
Jonathan Hodgson 5 years ago
parent ad52b71067
commit c191d2ddbc
  1. 2
      shells/zsh/STOW/.zshrc

@ -87,9 +87,11 @@ source $ZSH/oh-my-zsh.sh
source ~/.dotfiles/shells/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
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(){
zle && {zle reset-prompt; zle -R}

Loading…
Cancel
Save