diff options
author | Aaron LI <aly@aaronly.me> | 2018-01-13 11:17:35 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-01-13 11:17:35 +0800 |
commit | 4fffe7fdb66a65f6e4b1efe9c457ba663b30acbe (patch) | |
tree | a3677b143c200de184a5cd49dceac02365bffcec | |
parent | b4c84e526f180a087764ffe56dd94f140ff8e671 (diff) | |
download | dotfiles-4fffe7fdb66a65f6e4b1efe9c457ba663b30acbe.tar.bz2 |
zsh: kill gpg-agent on logout
-rw-r--r-- | _zlogout | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |