mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:12:08 +08:00
Correct argument order for signal handler example
This commit is contained in:
parent
56002abc61
commit
5d59c6a1cd
|
@ -1347,7 +1347,7 @@ Example:
|
|||
To specify a signal handler for the WINCH signal, write:
|
||||
|
||||
\fish
|
||||
function --on-signal WINCH my_signal_handler
|
||||
function my_signal_handler --on-signal WINCH
|
||||
echo Got WINCH signal!
|
||||
end
|
||||
\endfish
|
||||
|
|
Loading…
Reference in New Issue
Block a user