mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
docs: Add fish_posterror
Also remove the "event will be emitted even if the command is invalid" because it's not the case anymore, AFAICT. See #6880.
This commit is contained in:
parent
a93ee3a4e9
commit
1f459622cb
1 changed files with 1 additions and 3 deletions
|
@ -54,12 +54,10 @@ By using one of the event handler switches, a function can be made to run automa
|
|||
|
||||
- ``fish_preexec``, which is emitted right before executing an interactive command. The commandline is passed as the first parameter.
|
||||
|
||||
Note: This event will be emitted even if the command is invalid. The commandline parameter includes the entire commandline verbatim, and may potentially include newlines.
|
||||
- ``fish_posterror``, which is emitted right after executing a command with syntax errors. The commandline is passed as the first parameter.
|
||||
|
||||
- ``fish_postexec``, which is emitted right after executing an interactive command. The commandline is passed as the first parameter.
|
||||
|
||||
Note: This event will be emitted even if the command is invalid. The commandline parameter includes the entire commandline verbatim, and may potentially include newlines.
|
||||
|
||||
- ``fish_exit`` is emitted right before fish exits.
|
||||
|
||||
- ``fish_cancel``, which is emitted when a commandline is cleared (used for terminal-shell integration).
|
||||
|
|
Loading…
Reference in a new issue