small doc note
authorIan Kelling <ian@iankelling.org>
Tue, 13 May 2014 22:45:12 +0000 (15:45 -0700)
committerIan Kelling <ian@iankelling.org>
Thu, 4 May 2017 23:40:14 +0000 (16:40 -0700)
.bashrc

diff --git a/.bashrc b/.bashrc
index f7af595af12ffc90f6cdd55acacfe51585f37510..76cf30b21570be7a473800900bf0304f05900e8a 100644 (file)
--- a/.bashrc
+++ b/.bashrc
 # So we need something else. Command lines and env variables sent across ssh are strictly limited.
 # We could override an obscure unused LC_var, like telephone, or we could transfer a file.
 # But I choose to set SendEnv and AcceptEnv ssh vars for BASH_LOGIN_SHELL.
+# In a private file, i have aliases for if $- == *i*, ssh -t, else ssh.
 
 [[ $- != *i* && ! $SSH_CONNECTION ]] && export BASH_LOGIN_SHELL=true
+
 if [[ $SSH_CONNECTION ]] \
    && [[ $- == *c* ]] \
    && [[ ! $SSH_TTY ]] \