mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
ae0321778f
commit
542962bc69
3 changed files with 14 additions and 0 deletions
|
@ -39,3 +39,8 @@ emit foo
|
||||||
block -e
|
block -e
|
||||||
# 'foo fired' will now be printed
|
# 'foo fired' will now be printed
|
||||||
\endfish
|
\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
|
end
|
||||||
|
|
||||||
emit test_event something
|
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
|
\endfish
|
||||||
|
|
|
@ -91,3 +91,7 @@ end
|
||||||
|
|
||||||
This will beep when the most recent job completes.
|
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