mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +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
|
||||
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/
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user