File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 4848
4949 shellWrapperName = lib . mkOption {
5050 type = types . str ;
51- default = "yy" ;
52- example = "y" ;
51+ default =
52+ if lib . versionAtLeast config . home . stateVersion "26.05" then
53+ "y"
54+ else
55+ lib . warn ''
56+ The default value of `programs.yazi.shellWrapperName` has changed from `yy` to `y`.
57+ You are currently using the legacy default (`yy`) because `home.stateVersion` is less than "26.05".
58+ To silence this warning and keep legacy behavior, set:
59+ programs.yazi.shellWrapperName = "yy";
60+ To adopt the new default behavior, set:
61+ programs.yazi.shellWrapperName = "y";
62+ '' "yy" ;
63+ defaultText = literalExpression ''
64+ "y" for state version ≥ 26.05
65+ "yy" for state version < 26.05
66+ '' ;
67+ example = "yy" ;
5368 description = ''
5469 Name of the shell wrapper to be called.
5570 '' ;
You can’t perform that action at this time.
0 commit comments