# # ~/.zlogout # Executed when a *login* zsh shell exits # # Aaron LI # # Flush the cached passphrases on logout, but except for SSH connections if [[ -z ${SSH_CONNECTION} ]]; then #gpgconf --reload gpg-agent gpgconf --kill gpg-agent fi # Clear console if which clear >/dev/null 2>&1; then clear elif which tput >/dev/null 2>&1; then tput clear fi # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #