6 lines
212 B
Bash
6 lines
212 B
Bash
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'
|