From 1636e42b7211cedf133d74ed3432be080c634c8e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 11 Aug 2018 06:49:52 -0300 Subject: Check for WINDOWID before loading powerline at zshrc --- zshrc.dot.link | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zshrc.dot.link') diff --git a/zshrc.dot.link b/zshrc.dot.link index 5444184..59faa3f 100644 --- a/zshrc.dot.link +++ b/zshrc.dot.link @@ -63,6 +63,6 @@ __git_files () { } # Powerline -if [ "$TERM" != "linux" ] && [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then +if [ ! -z "$WINDOWID" ] && [ "$TERM" != "linux" ] && [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then . /usr/share/powerline/bindings/zsh/powerline.zsh fi -- cgit v1.2.3