From 3c57d4b7e78e5f698e5659de4c71ba6df64be44a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 14 Sep 2014 16:51:16 +0200 Subject: [PATCH] zsh/rc: don't start screen if $TERM = dialup screen fails to start on this terminal. --- zsh/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 1a8c799..c7a964e 100644 --- a/zsh/rc +++ b/zsh/rc @@ -925,7 +925,8 @@ fi # If not already in screen or tmux, reattach to a running session or create a # new one. This also starts screen/tmux on a remote server when connecting # through ssh. -if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then +if [[ $TERM != dumb && $TERM != dialup && $TERM != linux + && -z $STY && -z $TMUX ]]; then # Get running detached sessions. if [[ $zshrc_use_multiplexer = screen ]]; then session=$(screen -list | grep 'Detached' | awk '{ print $1; exit }') -- 2.45.2