aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link2
-rw-r--r--zshrc.dot.link2
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