aboutsummaryrefslogtreecommitdiffstats
path: root/_zlogout
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-01-13 11:17:35 +0800
committerAaron LI <aly@aaronly.me>2018-01-13 11:17:35 +0800
commit4fffe7fdb66a65f6e4b1efe9c457ba663b30acbe (patch)
treea3677b143c200de184a5cd49dceac02365bffcec /_zlogout
parentb4c84e526f180a087764ffe56dd94f140ff8e671 (diff)
downloaddotfiles-4fffe7fdb66a65f6e4b1efe9c457ba663b30acbe.tar.bz2
zsh: kill gpg-agent on logout
Diffstat (limited to '_zlogout')
-rw-r--r--_zlogout3
1 files changed, 2 insertions, 1 deletions
diff --git a/_zlogout b/_zlogout
index 52569f3..79fc8fd 100644
--- a/_zlogout
+++ b/_zlogout
@@ -7,7 +7,8 @@
# Flush the cached passphrases on logout, but except for SSH connections
if [[ -z ${SSH_CONNECTION} ]]; then
- gpgconf --reload gpg-agent
+ #gpgconf --reload gpg-agent
+ gpgconf --kill gpg-agent
fi
# Clear console