Hilbish

hilbish.cancel#

Sent when the user cancels their command input with Ctrl-C.

Variables#

This signal has no variables.


hilbish.cd#

Sent when the current directory of the shell is changed. Since 3.0, hilbish.cd is thrown when fs.cd is called.

Variables#

string path Absolute path of the directory that was changed to.

string oldPath Absolute path of the directory Hilbish was in before the change.


hilbish.exit#

Sent when Hilbish is going to exit.

Variables#

This signal has no variables.


hilbish.init#

Thrown once, right after the user's config file has finished loading successfully, in interactive sessions.

Variables#

This signal has no variables.


hilbish.notification#

Thrown when a notification is sent.

Variables#

table notification The notification. See the notifications feature doc for its properties.


hilbish.rawInput#

Thrown when the user has entered text in the prompt and pressed enter, before any processing.

Variables#

string input The raw input the user typed.


hilbish.vimAction#

Sent when the user does a "vim action," such as yanking or pasting text. See doc vim-mode actions for a list of available actions.

Variables#

string actionName The name of the Vim action that was done.

table args Table of args relating to the Vim action.


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: insert, normal, delete or replace.