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:
parent
9a1feb5b10
commit
a11cf1decd
3 changed files with 172 additions and 9 deletions
|
|
@ -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.
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue