From 04635c40cd48c197076cca11fad3682df5c0ea0a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 24 May 2020 05:20:02 +0300 Subject: [PATCH] Revert ".profile: Start `screen` on interactive login shell" This reverts commits 542f2a97ae5094eb88116ffa02fc441ba95dae47, 41c57a5fd1cf36e9115e8904c068b5777a49ba3e, c5d595d83cab2e180a71bc65b9e4a8a2f71772db. --- .profile | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.profile b/.profile index 5818850..c287c85 100644 --- a/.profile +++ b/.profile @@ -303,17 +303,3 @@ fi # # fi # fi - -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return ;; -esac - -# Stop if non-interactive shell -[ -z "$PS1" ] && return - -if [ -n "$SSH_CONNECTION" -a -z "$STY" -a -t 0 -a -x /usr/bin/screen ] -then - exec /usr/bin/screen -xRR -S default -fi -- 2.39.2