From: Ian Kelling Date: Fri, 25 Apr 2014 03:03:53 +0000 (-0700) Subject: fix comment X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=5fa752a3e656d662b82a62195247d18660342b53 fix comment --- 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 ]] \