Add ZSH logout configuration file.
This commit is contained in:
parent
d3a4a9f15c
commit
0881ac35c3
13
desktop/zsh/.zlogout
Normal file
13
desktop/zsh/.zlogout
Normal 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
|
Loading…
x
Reference in New Issue
Block a user