[zsh]Use gpg-agent var. Thos var are set by gpg-agent daemon. See man pages for infos

This commit is contained in:
Mathieu Maret 2010-10-04 17:47:46 +02:00
parent f4ddcdbd4d
commit 0a3973007b
1 changed files with 7 additions and 0 deletions

View File

@ -82,3 +82,10 @@ autoload -U zsh-mime-setup
autoload -U zsh-mime-handler
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