Signals on Hilbishhttps://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/Recent content in Signals on HilbishHugo -- gohugo.ioen-us<link>https://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/job/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/job/</guid><description>Note: job refers to a job object. You can check doc jobs for more detail. job.start -&gt; job &gt; Thrown when a new background job starts. job.done -&gt; job &gt; Thrown when a background jobs exits.</description></item><item><title>Commandhttps://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/command/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/command/command.preexec Thrown right before a command is executed. Variables string input The raw string that the user typed. This will include the text without changes applied to it (argument substitution, alias expansion, etc.) string cmdStr The command that will be directly executed by the current runner. command.exit Thrown after the user&rsquo;s ran command is finished. Variables number code The exit code of what was executed. string cmdStr The command or code that was executedHilbishhttps://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/hilbish/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/hilbish/hilbish.exit Sent when Hilbish is going to exit. Variables This signal returns no variables. hilbish.vimMode Sent when the Vim mode of Hilbish is changed (like from insert to normal mode). This can be used to change the prompt and notify based on Vim mode. Variables string modeName The mode that has been set. Can be these values: insert, normal, delete or replace hilbish.cancel Sent when the user cancels their command input with Ctrl-CSignalhttps://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/signal/Mon, 01 Jan 0001 00:00:00 +0000https://rosettea.github.io/Hilbish/versions/cancel-commander/docs/hooks/signal/signal.sigint Thrown when Hilbish receive the SIGINT signal, aka when Ctrl-C is pressed. Variables This signal returns no variables. signal.resize Thrown when the terminal is resized. Variables This signal returns no variables. signal.sigusr1 Thrown when SIGUSR1 is sent to Hilbish. Variables This signal returns no variables. signal.sigusr2 Thrown when SIGUSR2 is sent to Hilbish. Variables This signal returns no variables.