summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 10:42:19 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-11-01 10:42:19 +0100
commit75b13d219ed6c54d3d0d3d0e98d964bc9f163599 (patch)
tree89af4cc3e44933fc0321280625d9f1e2775bbe35
parent4595adbc3de01228bb122575264d9385f6cbd9b4 (diff)
downloaddotfiles-75b13d219ed6c54d3d0d3d0e98d964bc9f163599.tar.gz
dotfiles-75b13d219ed6c54d3d0d3d0e98d964bc9f163599.tar.bz2
dotfiles-75b13d219ed6c54d3d0d3d0e98d964bc9f163599.zip
Do not try to set window title and stuff in linux console
Diffstat (limited to '')
-rw-r--r--.zsh/zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index 5b99edf..426b6f9 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -190,6 +190,8 @@ _set_title () {
screen*)
pre="\033k"
post="\033\\";;
+ linux)
+ return;;
esac
echo -ne "${pre}${USER}@${HOST}:${PWD/$HOME/~}${post}"
}
@@ -201,6 +203,7 @@ _set_cwd () {
screen*)
# pass through to parent terminal emulator
update="\0033P$update\0033\\";;
+ linux) return;;
esac
echo -ne "$update"