fish: allow arguments to functions

This allows the ability to provide arguments to a function, such as
`--on-event` in order to trigger a function on the
`fish_command_not_found` event, for example.

PR #1063
This commit is contained in:
Cole Helbling 2020-03-01 13:20:44 -08:00 committed by Robert Helgesson
parent 9a1feb5b10
commit a11cf1decd
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 172 additions and 9 deletions

View file

@ -1333,6 +1333,7 @@ in
A new module is available: 'wayland.windowManager.sway'
'';
}
{
time = "2020-03-04T18:55:03+00:00";
condition = hostPlatform.isLinux;
@ -1340,6 +1341,16 @@ in
A new module is available: 'programs.abook'
'';
}
{
time = "2020-03-07T11:43:26+00:00";
condition = config.programs.zsh.enable;
message = ''
The option 'programs.fish.functions' has been reworked in
order to support all available flags, such as
'--description', '--on-event', and more.
'';
}
];
};
}