[zsh]Use gpg-agent var. Thos var are set by gpg-agent daemon. See man pages for infos
This commit is contained in:
parent
f4ddcdbd4d
commit
0a3973007b
@ -82,3 +82,10 @@ autoload -U zsh-mime-setup
|
|||||||
autoload -U zsh-mime-handler
|
autoload -U zsh-mime-handler
|
||||||
zsh-mime-setup
|
zsh-mime-setup
|
||||||
|
|
||||||
|
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||||
|
. "${HOME}/.gpg-agent-info"
|
||||||
|
export GPG_AGENT_INFO
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
export SSH_AGENT_PID
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user