mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
Correct argument order for signal handler example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user