From: Mike Frysinger Date: Fri, 30 Jan 2009 21:43:38 +0000 (-0500) Subject: also test for -i X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3e04e25aade03b9975a3eac68901e97ca2667465;p=home.git also test for -i --- diff --git a/.profile.d/screen.sh b/.profile.d/screen.sh index a8f6fa0..31a2f6b 100644 --- a/.profile.d/screen.sh +++ b/.profile.d/screen.sh @@ -1 +1,3 @@ -[ "${TERM}" != "dumb" ] && screen -li +if [[ $- == *i* ]] ; then + [ "${TERM}" != "dumb" ] && screen -li +fi