bashrc & zshrc: I am seeing messages even with that if-else...
This commit is contained in:
parent
7ecda2f30e
commit
29c9cab7ae
2
bashrc
2
bashrc
|
@ -208,9 +208,7 @@ fi
|
|||
|
||||
# Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/
|
||||
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
ssh-agent -a /tmp/$USER.agent
|
||||
fi
|
||||
|
||||
##### Aliases RJ706I #####
|
||||
|
||||
|
|
2
zshrc
2
zshrc
|
@ -140,9 +140,7 @@ UNAME=`uname`
|
|||
|
||||
# Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/
|
||||
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
ssh-agent -a /tmp/$USER.agent
|
||||
fi
|
||||
|
||||
# If we are on Mac, show hidden files in Finder and enable AirDrop over Ethernet and on unsupported (by Apple) Macs
|
||||
if [[ $UNAME = "Darwin" ]]; then
|
||||
|
|
Loading…
Reference in New Issue