mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
{bash,zsh}rc: rename $USER.agent -> $USER.sshagent
This commit is contained in:
parent
1e707dd586
commit
26bc9018fd
@ -226,8 +226,8 @@ if [ -f ~/.gnupg/sshcontrol ]; then
|
|||||||
# otherwise use the normal ssh-agent
|
# otherwise use the normal ssh-agent
|
||||||
else
|
else
|
||||||
# if the output is going to /dev/null, it's non/existence doesn't matter
|
# 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)
|
(ssh-agent -a /tmp/$USER.sshagent > /dev/null 2>&1)
|
||||||
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
export SSH_AUTH_SOCK=/tmp/$USER.sshagent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# OS X ls colours (copied from https://apple.stackexchange.com/questions/33677/
|
# OS X ls colours (copied from https://apple.stackexchange.com/questions/33677/
|
||||||
|
4
rc/zshrc
4
rc/zshrc
@ -177,8 +177,8 @@ if [ -f ~/.gnupg/sshcontrol ]; then
|
|||||||
# otherwise use the normal ssh-agent
|
# otherwise use the normal ssh-agent
|
||||||
else
|
else
|
||||||
# if the output is going to /dev/null, it's non/existence doesn't matter
|
# 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)
|
(ssh-agent -a /tmp/$USER.sshagent > /dev/null 2>&1)
|
||||||
export SSH_AUTH_SOCK=/tmp/$USER.agent
|
export SSH_AUTH_SOCK=/tmp/$USER.sshagent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If we are on Linux, enable apt progress bar and colours
|
# If we are on Linux, enable apt progress bar and colours
|
||||||
|
Loading…
Reference in New Issue
Block a user