X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.profile;h=c287c85ea75a3bc65e2285e35393ed6b5915daaa;hb=6ae80406a46b645878b431bd922cfd6f86eb4c0d;hp=4e9958e77ef43e744245e8ca4bb17693eb308692;hpb=cc4271cd8c256a378472017827a04c83f951347c;p=dotfiles.git diff --git a/.profile b/.profile index 4e9958e..c287c85 100644 --- a/.profile +++ b/.profile @@ -192,7 +192,7 @@ if [ -t 0 ] ; then ;; esac - OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \W " + OPS1=${OPS1}"${debian_chroot:+($debian_chroot)}\u@\h \W \\$" . "$ENV" else @@ -303,18 +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 ] && - which screen >/dev/null 2>&1 -then - exec screen -xRR -S default -fi