fish_exit
doesn't fire when terminal window is closed
#7014
Labels
bug
Something that's not working as intended
Milestone
Function defined as
doesn't fire when Terminal.app (or iTerm) window is closed on macOS.
Is this expected behavior? If so, how can I fire
my_function
when the terminal window is closed?I've also tried:
--on-process-exit $fish_pid
--on-signal SIGTERM
--on-signal SIGKILL
No success.
P.S.
my_function
is fired after executingexit
command in the terminal window, but I need to be able to run it when the window is closed too.The text was updated successfully, but these errors were encountered: