Open b-long opened 1 year ago
It allows you to run commands, "when the shell receives signal sigspec" (source the GNU manual).
It's complex, hence I don't recommend using Shell programming:
fish
trap cmd 0 1 2 3 13 15
What is it?
It allows you to run commands, "when the shell receives signal sigspec" (source the GNU manual).
It's complex, hence I don't recommend using Shell programming:
Platform / Compatibility
fish
*Note,fish
does not recommend using it: https://fishshell.com/docs/current/cmds/trap.htmlPatterns you may see