Add support for gpg-agent
Load gpg-agent and ensure compatibility for SSH and other services. This is needed to use smartcard based GPG authentication
This commit is contained in:
parent
b726613d94
commit
c8d0a8c855
7
zshrc
7
zshrc
|
|
@ -59,6 +59,13 @@ _comp_options+=(globdots)
|
|||
zle -N edit-command-line
|
||||
bindkey "" edit-command-line
|
||||
|
||||
## Enable gpg-agent support
|
||||
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
gpg-gpg-connect-agent /bye
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
## Load external stuff
|
||||
|
||||
## support for opam
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user