mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
docs: Drop "Other features" header
This has two features now, there's no need to group it.
This commit is contained in:
parent
00fc56f3e1
commit
892330b904
1 changed files with 2 additions and 7 deletions
|
@ -2004,15 +2004,10 @@ You can also use the version as a group, so ``3.0`` is equivalent to "stderr-noc
|
|||
|
||||
Prefixing a feature with ``no-`` turns it off instead.
|
||||
|
||||
.. _other:
|
||||
|
||||
Other features
|
||||
==============
|
||||
|
||||
.. _event:
|
||||
|
||||
Event handlers
|
||||
---------------
|
||||
==============
|
||||
|
||||
When defining a new function in fish, it is possible to make it into an event handler, i.e. a function that is automatically run when a specific event takes place. Events that can trigger a handler currently are:
|
||||
|
||||
|
@ -2037,7 +2032,7 @@ For more information on how to define new event handlers, see the documentation
|
|||
.. _debugging:
|
||||
|
||||
Debugging fish scripts
|
||||
-----------------------
|
||||
======================
|
||||
|
||||
Fish includes a built in debugging facility. The debugger allows you to stop execution of a script at an arbitrary point. When this happens you are presented with an interactive prompt. At this prompt you can execute any fish command (there are no debug commands as such). For example, you can check or change the value of any variables using :ref:`printf <cmd-printf>` and :ref:`set <cmd-set>`. As another example, you can run :ref:`status print-stack-trace <cmd-status>` to see how this breakpoint was reached. To resume normal execution of the script, simply type :ref:`exit <cmd-exit>` or :kbd:`Control`\ +\ :kbd:`D`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue