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

Jonathan Hodgson 5 years ago
parent bacb273f81
commit d5f3455733
  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