cfg/aa000-0/zsh/.zlogout

17 lines
317 B
Plaintext
Raw Normal View History

2023-05-16 20:57:56 +01:00
# Inferencium
# ZSH - Logout
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.1.0.1
2023-05-16 20:57:56 +01:00
# 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