From f679b6139695b9fb94a6d41d5580acbdb4c92164 Mon Sep 17 00:00:00 2001 From: steveokard Date: Mon, 14 Aug 2017 10:19:41 -0400 Subject: [PATCH] prevent powerline from loading on ssh sessions --- .zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index c3e7b16..ed37e72 100644 --- a/.zshrc +++ b/.zshrc @@ -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