home: fish: override exit function

This commit is contained in:
Antoine Martin 2025-10-16 10:34:37 +02:00
parent fe21cf537f
commit fa41b61e92

View file

@ -0,0 +1,5 @@
function exit \
--description "Disown all jobs started from this shell to avoid killing them on exit" \
--on-event fish_exit
jobs -q; and disown (jobs -p)
end