Make gpg config user dependent, not machine dependent

This commit is contained in:
2020-04-05 18:59:39 +02:00
parent 7023bf0fff
commit 37e4b16cf4
4 changed files with 16 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
_zshdir="$HOME/.zshrc.d"
{% if machine.gpg_agent %}
{% if user.gpg_agent %}
export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
{% endif %}