yazi: change the default shellWrapperName yy → y
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
ff5e5d882c
commit
ee49ee29a1
1 changed files with 17 additions and 2 deletions
|
|
@ -48,8 +48,23 @@ in
|
||||||
|
|
||||||
shellWrapperName = lib.mkOption {
|
shellWrapperName = lib.mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "yy";
|
default =
|
||||||
example = "y";
|
if lib.versionAtLeast config.home.stateVersion "26.05" then
|
||||||
|
"y"
|
||||||
|
else
|
||||||
|
lib.warn ''
|
||||||
|
The default value of `programs.yazi.shellWrapperName` has changed from `yy` to `y`.
|
||||||
|
You are currently using the legacy default (`yy`) because `home.stateVersion` is less than "26.05".
|
||||||
|
To silence this warning and keep legacy behavior, set:
|
||||||
|
programs.yazi.shellWrapperName = "yy";
|
||||||
|
To adopt the new default behavior, set:
|
||||||
|
programs.yazi.shellWrapperName = "y";
|
||||||
|
'' "yy";
|
||||||
|
defaultText = literalExpression ''
|
||||||
|
"y" for state version ≥ 26.05
|
||||||
|
"yy" for state version < 26.05
|
||||||
|
'';
|
||||||
|
example = "yy";
|
||||||
description = ''
|
description = ''
|
||||||
Name of the shell wrapper to be called.
|
Name of the shell wrapper to be called.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue