From 3710002bb73bca18ebd0b762aecdaabdbf8ef80e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 31 Oct 2010 18:53:13 +0100 Subject: [PATCH] zsh/rc: Don't start screen on the Linux console. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 6367ff4..2a3ff4c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -617,7 +617,7 @@ source_config ~/.zsh/rc.local # If not already in screen reattach to a running session or create a new one. # This also starts screen one a remote server when connecting through ssh. -if [[ $TERM != dumb && -z $STY ]]; then +if [[ $TERM != dumb && $TERM != linux && -z $STY ]]; then # Get running detached sessions. session=$(screen -list | grep 'Detached' | awk '{ print $1; exit }') -- 2.44.1