From 8e79f591dfee606f9663463e3786524aad8926bd Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 3 Jul 2020 12:00:32 +0100 Subject: [PATCH] Make screen use a host specific working directory. --- .bash_profile | 1 + 1 file changed, 1 insertion(+) diff --git a/.bash_profile b/.bash_profile index 86e5c8a..237c8aa 100644 --- a/.bash_profile +++ b/.bash_profile @@ -116,6 +116,7 @@ unset _OUTPUT _PLATFORM # Screen. hash screen >/dev/null 2>&1 && { + export SCREENDIR="$HOME/.screen-$(hostname --short)" if [[ ! -e ~/.hushlogin ]]; then if [[ ! -z "$STY" ]]; then echo "Screen $STY, window $WINDOW."