mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
ba0bfb9df7
`functions --handlers-type caller-exit` did not list any functions, while `functions --handlers-type process-exit` listed both process-exit and caller-exit handlers: $ echo (function foo --on-job-exit caller; end; functions --handlers-type caller-exit | grep foo) $ echo (function foo --on-job-exit caller; end; functions --handlers-type process-exit | grep foo) caller-exit foo
5 lines
236 B
Fish
5 lines
236 B
Fish
#RUN: %fish %s
|
|
echo (function foo1 --on-job-exit caller; end; functions --handlers-type caller-exit | grep foo)
|
|
# CHECK: caller-exit foo1
|
|
echo (function foo2 --on-job-exit caller; end; functions --handlers-type process-exit | grep foo)
|