Hook function before the main shell is about to exit
Hook function zshexit
is called right before the main shell is about to exit normally.
It’s not called when functions exit or when subshells exit.
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für zshexit - probieren Sie es jetzt aus!