X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;fp=.profile;h=c287c85ea75a3bc65e2285e35393ed6b5915daaa;hp=581885092317f725fe1341be58fd61b99b5da300;hb=04635c40cd48c197076cca11fad3682df5c0ea0a;hpb=ec8a56b3aa806fa26d1f67f8aa441d21db278edb 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