From: Simon Ruderich Date: Sun, 31 Oct 2010 17:53:13 +0000 (+0100) Subject: zsh/rc: Don't start screen on the Linux console. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3710002bb73bca18ebd0b762aecdaabdbf8ef80e;p=config%2Fdotfiles.git zsh/rc: Don't start screen on the Linux console. --- 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 }')