1
0
Fork 0

Fix SSH pinentry for GPG keys
continuous-integration/drone/push Build is failing Details

main
Ambrose Chua 2019-09-10 13:22:25 +08:00
parent 77c66286a4
commit fa9ed799e2
Signed by: ambrose
GPG Key ID: B34FBE029276BA5D
1 changed files with 2 additions and 0 deletions

2
.zshrc
View File

@ -85,6 +85,8 @@ alias vim=nvim
export GPG_TTY="$(tty)"
# gpg ssh agent
test -e "$(which gpgconf)" && export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
# gpg ssh fix pinentry
echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2>&1
# minio client
autoload -U +X bashcompinit && bashcompinit