dot/.zlogout

5 lines
61 B
Bash

if [ -n "$SSH_AGENT_PID" ]
then
kill "$SSH_AGENT_PID"
fi