]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
Revert ".profile: Start `screen` on interactive login shell"
[dotfiles.git] / .profile
index 581885092317f725fe1341be58fd61b99b5da300..c287c85ea75a3bc65e2285e35393ed6b5915daaa 100644 (file)
--- a/.profile
+++ b/.profile
@@ -303,17 +303,3 @@ fi
 #
 #    fi
 # 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