Update SSH_AUTH_SOCK location
This commit is contained in:
parent
4200499836
commit
6c31a7c09e
2
.zshenv
2
.zshenv
@ -30,7 +30,7 @@ fi
|
|||||||
## Set SSH to use gpg-agent
|
## Set SSH to use gpg-agent
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||||
export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Set GPG TTY
|
## Set GPG TTY
|
||||||
|
Loading…
Reference in New Issue
Block a user