prevent powerline from loading on ssh sessions

This commit is contained in:
Stefen Auris 2017-08-14 10:19:41 -04:00
parent 94eab935ef
commit f679b61396

7
.zshrc
View file

@ -91,4 +91,9 @@ export VISUAL="/usr/bin/vim"
export EDITOR="$VISUAL"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'
alias tmux="tmux -2"
. /usr/share/powerline/bindings/zsh/powerline.zsh
if [[ -n "$SSH_CLIENT" ]]
then break
else
. /usr/share/powerline/bindings/zsh/powerline.zsh
fi