iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c96a5
)
fix comment
author
Ian Kelling
<ian@iankelling.org>
Fri, 25 Apr 2014 03:03:53 +0000
(20:03 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Thu, 4 May 2017 23:40:14 +0000
(16:40 -0700)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index 2b29bf2bf75d8f86778aebebf2f4b6e783f0556e..3aea95beaa7f90de1f56baed5972c37482857c55 100644
(file)
--- 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 can
t 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 ]] \