mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
parent
ae0321778f
commit
542962bc69
3 changed files with 14 additions and 0 deletions
|
@ -39,3 +39,8 @@ emit foo
|
|||
block -e
|
||||
# 'foo fired' will now be printed
|
||||
\endfish
|
||||
|
||||
|
||||
\subsection notes Notes
|
||||
|
||||
Note that events are only received from the current fish process as there is no way to send events from one fish process to another.
|
||||
|
|
|
@ -20,4 +20,9 @@ function event_test --on-event test_event
|
|||
end
|
||||
|
||||
emit test_event something
|
||||
|
||||
|
||||
\subsection notes Notes
|
||||
|
||||
Note that events are only sent to the current fish process as there is no way to send events from one fish process to another.
|
||||
\endfish
|
||||
|
|
|
@ -91,3 +91,7 @@ end
|
|||
|
||||
This will beep when the most recent job completes.
|
||||
|
||||
|
||||
\subsection notes Notes
|
||||
|
||||
Note that events are only received from the current fish process as there is no way to send events from one fish process to another.
|
||||
|
|
Loading…
Reference in a new issue