prevent powerline from loading on ssh sessions
This commit is contained in:
parent
f679b61396
commit
d701e90830
1 changed files with 2 additions and 3 deletions
5
.zshrc
5
.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue