From 3e04e25aade03b9975a3eac68901e97ca2667465 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 30 Jan 2009 16:43:38 -0500 Subject: [PATCH] also test for -i --- .profile.d/screen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5