From b93c3ae36f6da6002418b76f4a10c33393a4eaef Mon Sep 17 00:00:00 2001 From: James Walker Date: Thu, 25 Jul 2013 20:16:08 -0400 Subject: [PATCH] only disable auto title for screen/tmux --- zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 6a820fb..49fb004 100644 --- a/zshrc +++ b/zshrc @@ -46,6 +46,8 @@ if [ -f "$HOME/.rvm/scripts/rvm" ]; then rvm 2.0.0 fi -export DISABLE_AUTO_TITLE="true" +if [ $TERM = "screen" ]; then + export DISABLE_AUTO_TITLE="true" +fi export EDITOR="vim" export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"