gnupg/root
This commit is contained in:
parent
b52612afed
commit
74c01068b4
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
if [ ${EUID} -ne 0 ] ; then
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||
fi
|
||||
|
||||
alias gpgoff='gpgconf --kill gpg-agent'
|
||||
|
||||
|
|
Loading…
Reference in a new issue