From d701e90830ccdae076648604ee27611a8528d0b0 Mon Sep 17 00:00:00 2001 From: steveokard Date: Mon, 14 Aug 2017 10:28:10 -0400 Subject: [PATCH] prevent powerline from loading on ssh sessions --- .zshrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index ed37e72..6a86128 100644 --- a/.zshrc +++ b/.zshrc @@ -92,8 +92,7 @@ export EDITOR="$VISUAL" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3' alias tmux="tmux -2" -if [[ -n "$SSH_CLIENT" ]] -then break -else +if [[ -z "$SSH_CLIENT" ]] +then . /usr/share/powerline/bindings/zsh/powerline.zsh fi