2023-02-07 16:35:27 +01:00
|
|
|
# vim:set ft=sh
|
|
|
|
|
|
|
|
if [ "${SSH_AUTH_SOCK:-0}" -ne $$ ]; then
|
2023-02-07 17:19:53 +01:00
|
|
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
2023-02-07 16:35:27 +01:00
|
|
|
fi
|
|
|
|
export GPG_TTY="$(tty)"
|
2023-02-07 17:19:53 +01:00
|
|
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|