zshrc: Launch gpg-agent
I like to use `gpg-agent` as my SSH agent now. This makes it possible
to use hardware keys (Yubikey, and hopefully soon Solo), and helps keep
the keys more secure by periodically locking them and requiring the
password to unlock them again.
Occasionally, `gpg-agent` gets in a weird state where it stops
responding. I usually fix this with:
echo KILLAGENT | gpg-connect-agent
gpg-connect-agent /bye
gpg-connect-agent updatestartuptty /bye
This commit is contained in: