gpg/ssh,tty

This commit is contained in:
Marc Beninca 2023-05-09 23:32:24 +02:00
parent 06f5191c7c
commit b52612afed

View file

@ -1,3 +1,6 @@
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
gpg-connect-agent updatestartuptty /bye > /dev/null
alias gpgoff='gpgconf --kill gpg-agent'
alias gpgtty='gpg-connect-agent updatestartuptty /bye'