From e6077f4815d9799443877377cf93428f9083c7fd Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 23 Mar 2010 16:58:55 +0000 Subject: [PATCH] Don't break SCREENDIR. Use $HOME not ~ as the directory name is quoted. --- .profile.d/screen.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile.d/screen.bashrc b/.profile.d/screen.bashrc index beba505..c2b1014 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="~/.screen/$HOSTNAME" + export SCREENDIR="$HOME/.screen/$HOSTNAME" mkdir -p "$SCREENDIR" fi fi -- 2.20.1