Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-05-08 16:21:16 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
4eceabeaad1736abacbdeda8a8a523e8acf5fb75
fish-shell/tests/checks/caller-exit.fish

5 lines
236 B
Fish
Raw Normal View History

tests: filter control sequences only when interactive This demonstrates that we only write control sequences when interactive.
2024-04-12 12:19:32 +02:00
#RUN: %fish %s
functions: list caller-exit handlers correctly `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
2023-02-11 12:44:31 +01:00
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)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 116ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API