diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-08-11 06:49:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-08-11 06:49:52 -0300 |
commit | 1636e42b7211cedf133d74ed3432be080c634c8e (patch) | |
tree | f7d645156e729b4d60e0e12a8d5a676ab19651cd /zshrc.dot.link | |
parent | c17e37bb0261a39250f3d92ab9d97966e7232054 (diff) | |
download | profile-1636e42b7211cedf133d74ed3432be080c634c8e.tar.gz profile-1636e42b7211cedf133d74ed3432be080c634c8e.tar.bz2 |
Check for WINDOWID before loading powerline at zshrc
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r-- | zshrc.dot.link | 2 |
1 files changed, 1 insertions, 1 deletions
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 |