Basic functions to add to fish. For more information see https://fishshell.com/docs/current/cmds/function.html.
Declarations
Type
attribute set of (strings concatenated with "\n" or (submodule))
Default
{ }
Example
{
__fish_command_not_found_handler = {
body = "__fish_default_command_not_found_handler $argv[1]";
onEvent = "fish_command_not_found";
};
gitignore = "curl -sL https://www.gitignore.io/api/$argv";
}
Sign in to create a configuration using this setting.