From 54511e4a8549e2b115a47b64ad5a3bf9751a85b7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 2 Sep 2017 14:33:25 -0300 Subject: Do not use powerline on TERM type linux --- profile.dot.link | 2 +- zshrc.dot.link | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profile.dot.link b/profile.dot.link index 12a00f9..59011c7 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -224,7 +224,7 @@ fi #if [ -n "$BASH_VERSION" ]; then if [ "$0" = "bash" ]; then # Command prompt if no system-wide custom prompt is available - if [ -e "/usr/share/powerline/bindings/bash/powerline.sh" ]; then + if [ "$TERM" != "linux" ] && [ -e "/usr/share/powerline/bindings/bash/powerline.sh" ]; then powerline-daemon -q POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_SELECT=1 diff --git a/zshrc.dot.link b/zshrc.dot.link index 5e521d1..81555b0 100644 --- a/zshrc.dot.link +++ b/zshrc.dot.link @@ -50,6 +50,6 @@ zstyle ':completion:*:descriptions' format %B%d%b zstyle ':completion:*:complete:(cd|pushd):*' tag-order 'local-directories named-directories path-directories' # Powerline -if [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then +if [ "$TERM" != "linux" ] && [ -e '/usr/share/powerline/bindings/zsh/powerline.zsh' ]; then . /usr/share/powerline/bindings/zsh/powerline.zsh fi -- cgit v1.2.3