Tells fish to run this function when the fish child process with the specified process ID exits. Instead of a PID, for backwards compatibility, %self can be specified as an alias for $fish_pid, and the function will be run when the current fish instance exits.
Declarations
Type
null or string or signed integerDefault
nullExample
"$fish_pid"