mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Correct argument order for signal handler example
This commit is contained in:
parent
56002abc61
commit
5d59c6a1cd
1 changed files with 1 additions and 1 deletions
|
@ -1347,7 +1347,7 @@ Example:
|
||||||
To specify a signal handler for the WINCH signal, write:
|
To specify a signal handler for the WINCH signal, write:
|
||||||
|
|
||||||
\fish
|
\fish
|
||||||
function --on-signal WINCH my_signal_handler
|
function my_signal_handler --on-signal WINCH
|
||||||
echo Got WINCH signal!
|
echo Got WINCH signal!
|
||||||
end
|
end
|
||||||
\endfish
|
\endfish
|
||||||
|
|
Loading…
Reference in a new issue