2023-05-09 22:27:50 +00:00
|
|
|
if [ ${EUID} -ne 0 ] ; then
|
|
|
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
|
|
gpg-connect-agent updatestartuptty /bye > /dev/null
|
|
|
|
fi
|
2023-05-09 21:32:24 +00:00
|
|
|
|
2023-05-09 20:02:34 +00:00
|
|
|
alias gpgoff='gpgconf --kill gpg-agent'
|
|
|
|
|
|
|
|
alias gpgtty='gpg-connect-agent updatestartuptty /bye'
|