prevent powerline from loading on ssh sessions

This commit is contained in:
Stefen Auris 2017-08-14 10:28:10 -04:00
parent f679b61396
commit d701e90830

5
.zshrc
View file

@ -92,8 +92,7 @@ export EDITOR="$VISUAL"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3' ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'
alias tmux="tmux -2" alias tmux="tmux -2"
if [[ -n "$SSH_CLIENT" ]] if [[ -z "$SSH_CLIENT" ]]
then break then
else
. /usr/share/powerline/bindings/zsh/powerline.zsh . /usr/share/powerline/bindings/zsh/powerline.zsh
fi fi