aboutsummaryrefslogtreecommitdiffstats
path: root/_zlogin
diff options
context:
space:
mode:
Diffstat (limited to '_zlogin')
-rw-r--r--_zlogin3
1 files changed, 1 insertions, 2 deletions
diff --git a/_zlogin b/_zlogin
index 0d73512..27eb391 100644
--- a/_zlogin
+++ b/_zlogin
@@ -14,8 +14,7 @@
## Start `gpg-agent' on login (non-SSH connections)
GPG_AGENT_SOCKET="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent"
if [[ -z ${SSH_CONNECTION} ]] && [[ ! -S "${GPG_AGENT_SOCKET}" ]]; then
- gpg-agent --daemon --enable-ssh-support \
- --pinentry-program ${HOME}/bin/pinentry >/dev/null 2>&1
+ restart-gpg-agent
fi
## Auto start X if login on tty6