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