bashrc & zshrc: send output of ssh-agent to /dev/null

This commit is contained in:
Mika Suomalainen 2013-02-17 09:02:07 +02:00
parent 29c9cab7ae
commit 8f67584df0
2 changed files with 2 additions and 2 deletions

2
bashrc
View File

@ -208,7 +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
ssh-agent -a /tmp/$USER.agent
ssh-agent -a /tmp/$USER.agent > /dev/null 2>&1
##### Aliases RJ706I #####

2
zshrc
View File

@ -140,7 +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
ssh-agent -a /tmp/$USER.agent
ssh-agent -a /tmp/$USER.agent > /dev/null 2>&1
# 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