From: Oleg Broytman Date: Sun, 24 May 2020 02:20:02 +0000 (+0300) Subject: Revert ".profile: Start `screen` on interactive login shell" X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=04635c40cd48c197076cca11fad3682df5c0ea0a;p=dotfiles.git Revert ".profile: Start `screen` on interactive login shell" This reverts commits 542f2a97ae5094eb88116ffa02fc441ba95dae47, 41c57a5fd1cf36e9115e8904c068b5777a49ba3e, c5d595d83cab2e180a71bc65b9e4a8a2f71772db. --- 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