fish-shell/doc_src
ridiculousfish 33f3c03dae Allow on-job-exit handlers to be added for any pid in the job
Prior to this change, a function with an on-job-exit event handler must be
added with the pgid of the job. But sometimes the pgid of the job is fish
itself (if job control is disabled) and the previous commit made last_pid
an actual pid from the job, instead of its pgroup.

Switch on-job-exit to accept any pid from the job (except fish itself).
This allows it to be used directly with $last_pid, except that it now
works if job control is off. This is implemented by "resolving" the pid to
the internal job id at the point the event handler is added.

Also switch to passing the last pid of the job, rather than its pgroup.
This aligns better with $last_pid.
2021-05-25 15:28:53 -07:00
..
cmds Allow on-job-exit handlers to be added for any pid in the job 2021-05-25 15:28:53 -07:00
python_docs_theme docs: Handle undefined LINK_SUFFIX 2021-04-25 09:42:02 +02:00
commands.rst We no longer have two doc systems, move sphinx_doc_src back to doc_src 2020-02-19 17:00:35 -08:00
completions.rst docs: Replace all internal links with :ref:s 2021-03-26 19:32:14 +01:00
conf.py docs: Unbreak sphinx' man directories 2021-05-13 18:20:47 +02:00
design.rst Make rationale spacing consistent 2020-10-12 20:25:35 +02:00
faq.rst docs: Mention cursor in the wrong position for unicode FAQ 2021-05-18 13:18:35 +02:00
fish_for_bash_users.rst docs: Add a section on subshells to fish-for-bash-users 2021-05-22 17:30:45 +02:00
fish_indent_lexer.py Highlight keywords differently 2021-02-07 21:18:51 +01:00
index.rst docs: Split off links to other pages into its own section 2021-05-18 22:53:13 +02:00
interactive.rst Update docs on detecting fish_private_mode 2021-05-17 18:42:52 -07:00
language.rst docs: A bit more on autoloading 2021-05-16 21:27:00 +02:00
license.rst Update copyright years 2021-05-03 13:12:11 +02:00
relnotes.rst docs: call the CHANGELOG "release notes" 2021-02-25 22:46:24 +08:00
tutorial.rst docs: Remove "note that" 2021-05-03 18:39:54 +02:00