Clean gpg-agent call

This commit is contained in:
Jeremy Gardais 2016-10-09 15:12:05 +02:00
parent 413b614fdf
commit fd80dfbc2a
1 changed files with 6 additions and 4 deletions

10
zlogin
View File

@ -86,8 +86,10 @@ if [ -f $HOME/.ssh/id_rsa ]; then
. $HOME/.keychain/$HOST-sh
fi
# Launch Keychain for GPG
#[ -f $HOME/.keychain/$HOST-sh-gpg ] && \
#keychain --agents gpg
#. $HOME/.keychain/$HOST-sh-gpg
# GPG Agent
if [ -f $HOME/.gnupg/secring.gpg ]; then
# Keychain
keychain --noask --systemd --agents gpg
. $HOME/.keychain/$HOST-sh-gpg
fi