mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: send output of ssh-agent to /dev/null
This commit is contained in:
parent
29c9cab7ae
commit
8f67584df0
2
bashrc
2
bashrc
@ -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
2
zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user