Update ZSH logout configuration file to version 0.1.0.1.

This commit is contained in:
inference 2023-05-16 21:05:45 +01:00
parent 0881ac35c3
commit 5a873f2593
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,10 +4,13 @@
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.0.0
# Version: 0.1.0.1
# Kill ssh-agent on logout to purge cached SSH key passphrase from memory
if [ -n "$SSH_AUTH_SOCK" ] ; then
eval $(ssh-agent -k)
fi
# Clear shell to prevent information disclosure
clear