Add ZSH logout configuration file.

This commit is contained in:
inference 2023-05-16 20:58:18 +01:00
parent d3a4a9f15c
commit 0881ac35c3
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

13
desktop/zsh/.zlogout Normal file
View File

@ -0,0 +1,13 @@
# Inferencium
# ZSH - Logout
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.0.0
# Kill ssh-agent on logout to purge cached SSH key passphrase from memory
if [ -n "$SSH_AUTH_SOCK" ] ; then
eval $(ssh-agent -k)
fi