mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +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:
|
||||
|
||||
\fish
|
||||
function --on-signal WINCH my_signal_handler
|
||||
function my_signal_handler --on-signal WINCH
|
||||
echo Got WINCH signal!
|
||||
end
|
||||
\endfish
|
||||
|
|
Loading…
Reference in a new issue