X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fscreen.bashrc;h=440395e9088c3ebd6860c13c18bc258d77bc0d57;hb=f00d519dd073659e3a079be65c57d5b64cb60a69;hp=02026cd9f6e03128b09af80748dfea93ffb4b98d;hpb=1f5e0af1a0dc8874172d4ace1d39cd0fbe520a66;p=profile.git diff --git a/.profile.d/screen.bashrc b/.profile.d/screen.bashrc index 02026cd..440395e 100644 --- a/.profile.d/screen.bashrc +++ b/.profile.d/screen.bashrc @@ -6,7 +6,7 @@ if [ $? = 0 ]; then if [ -n "$SUDO_USER" ]; then unset SCREENDIR else - export SCREENDIR="$HOME/.screen/$HOSTNAME" + export SCREENDIR="${PROFILE_HOME:-~}/.screen/$HOSTNAME" fi fi