mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
4 lines
236 B
Fish
4 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)
|