From b2f1172fe5327b1328e9a9b7e3eee3b10be2190f Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 20 Jul 2018 10:22:54 +0100 Subject: [PATCH] Change the way launching a remote screen is determined. --- .ssh/config.d/screen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ssh/config.d/screen b/.ssh/config.d/screen index 6db1084..a6e94e2 100644 --- a/.ssh/config.d/screen +++ b/.ssh/config.d/screen @@ -1,3 +1,3 @@ -Match exec "test ${SHLVL} -le 2" +Match exec "test ${TERM_PROGRAM} = iTerm.app" RequestTTY yes RemoteCommand screen -xRRAUO 2>/dev/null || bash