mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 11:52:31 +01:00
bashrc & zshrc: I am seeing messages even with that if-else...
This commit is contained in:
parent
7ecda2f30e
commit
29c9cab7ae
4
bashrc
4
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/
|
# 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
|
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
ssh-agent -a /tmp/$USER.agent
|
||||||
ssh-agent -a /tmp/$USER.agent
|
|
||||||
fi
|
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
|
4
zshrc
4
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/
|
# 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
|
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
ssh-agent -a /tmp/$USER.agent
|
||||||
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 we are on Mac, show hidden files in Finder and enable AirDrop over Ethernet and on unsupported (by Apple) Macs
|
||||||
if [[ $UNAME = "Darwin" ]]; then
|
if [[ $UNAME = "Darwin" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user