diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-02 14:33:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-02 14:33:25 -0300 |
commit | 54511e4a8549e2b115a47b64ad5a3bf9751a85b7 (patch) | |
tree | 9d97c492c640455e50ce1db54772d34740623151 | |
parent | c72e6fb85db2dff1018395c84b4bb5dcc3a9512e (diff) | |
download | profile-54511e4a8549e2b115a47b64ad5a3bf9751a85b7.tar.gz profile-54511e4a8549e2b115a47b64ad5a3bf9751a85b7.tar.bz2 |
Do not use powerline on TERM type linux
-rw-r--r-- | profile.dot.link | 2 | ||||
-rw-r--r-- | 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 |