From: Iain Patterson Date: Tue, 23 Mar 2010 16:58:55 +0000 (+0000) Subject: Don't break SCREENDIR. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;ds=inline;h=e6077f4815d9799443877377cf93428f9083c7fd;p=profile.git Don't break SCREENDIR. Use $HOME not ~ as the directory name is quoted. --- 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