{bash,zsh}rc: rename $USER.agent -> $USER.sshagent

This commit is contained in:
Aminda Suomalainen 2020-03-03 21:31:07 +02:00
parent 1e707dd586
commit 26bc9018fd
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 4 additions and 4 deletions

View File

@ -226,8 +226,8 @@ if [ -f ~/.gnupg/sshcontrol ]; then
# otherwise use the normal ssh-agent
else
# if the output is going to /dev/null, it's non/existence doesn't matter
(ssh-agent -a /tmp/$USER.agent > /dev/null 2>&1)
export SSH_AUTH_SOCK=/tmp/$USER.agent
(ssh-agent -a /tmp/$USER.sshagent > /dev/null 2>&1)
export SSH_AUTH_SOCK=/tmp/$USER.sshagent
fi
# OS X ls colours (copied from https://apple.stackexchange.com/questions/33677/

View File

@ -177,8 +177,8 @@ if [ -f ~/.gnupg/sshcontrol ]; then
# otherwise use the normal ssh-agent
else
# if the output is going to /dev/null, it's non/existence doesn't matter
(ssh-agent -a /tmp/$USER.agent > /dev/null 2>&1)
export SSH_AUTH_SOCK=/tmp/$USER.agent
(ssh-agent -a /tmp/$USER.sshagent > /dev/null 2>&1)
export SSH_AUTH_SOCK=/tmp/$USER.sshagent
fi
# If we are on Linux, enable apt progress bar and colours