From 5fa752a3e656d662b82a62195247d18660342b53 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 24 Apr 2014 20:03:53 -0700 Subject: [PATCH] fix comment --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 2b29bf2..3aea95b 100644 --- a/.bashrc +++ b/.bashrc @@ -7,7 +7,7 @@ # The default of sourcing this file for all ssh commands is a buggy practice. Normally, this # file is not sourced when a script is run, and we should follow that convention. -# we cant override with ssh -t which sets $SSH_TTY and forces a terminal allocation +# we can override with ssh -t which sets $SSH_TTY, which we can detect if [[ $SSH_CONNECTION ]] \ && [[ $- == *c* ]] \ && [[ ! $SSH_TTY ]] \ -- 2.30.2