mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
update function parameter for EXIT signal
changed `function __trap_handler_EXIT --on-exit %self` to `function __trap_handler_EXIT --on-process-exit %self` I'm guessing the on-exit syntax was from an older version? Trapping EXIT with that syntax caused errors.
This commit is contained in:
committed by
ridiculousfish
parent
05daedf7c6
commit
4a3cda1495
@@ -12,7 +12,7 @@ function __trap_switch
|
||||
|
||||
switch $argv[1]
|
||||
case EXIT
|
||||
echo --on-exit %self
|
||||
echo --on-process-exit %self
|
||||
|
||||
case '*'
|
||||
echo --on-signal $argv[1]
|
||||
|
||||
Reference in New Issue
Block a user