]> git.phdru.name Git - dotfiles.git/commitdiff
Revert ".profile: Start `screen` on interactive login shell"
authorOleg Broytman <phd@phdru.name>
Sun, 24 May 2020 02:20:02 +0000 (05:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 24 May 2020 22:10:30 +0000 (01:10 +0300)
This reverts commits
542f2a97ae5094eb88116ffa02fc441ba95dae47,
41c57a5fd1cf36e9115e8904c068b5777a49ba3e,
c5d595d83cab2e180a71bc65b9e4a8a2f71772db.

.profile

index 581885092317f725fe1341be58fd61b99b5da300..c287c85ea75a3bc65e2285e35393ed6b5915daaa 100644 (file)
--- 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