prevent powerline from loading on ssh sessions
This commit is contained in:
parent
94eab935ef
commit
f679b61396
1 changed files with 6 additions and 1 deletions
7
.zshrc
7
.zshrc
|
@ -91,4 +91,9 @@ export VISUAL="/usr/bin/vim"
|
||||||
export EDITOR="$VISUAL"
|
export EDITOR="$VISUAL"
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'
|
||||||
alias tmux="tmux -2"
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue