From 75b13d219ed6c54d3d0d3d0e98d964bc9f163599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 1 Nov 2013 10:42:19 +0100 Subject: Do not try to set window title and stuff in linux console --- .zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.zsh') 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" -- cgit v1.2.3