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