From 4fffe7fdb66a65f6e4b1efe9c457ba663b30acbe Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 13 Jan 2018 11:17:35 +0800 Subject: zsh: kill gpg-agent on logout --- _zlogout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.2