Skip to content

Commit 881b2ca

Browse files
kalbasitrissson
authored andcommitted
programs.zsh: fix deprecation notice
1 parent 3f3d217 commit 881b2ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/programs/zsh/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ in
115115

116116
(optionalAttrs (mode == "home-manager") {
117117
programs.zsh = {
118-
inherit (cfg) enableAutosuggestions plugins;
118+
inherit (cfg) plugins;
119+
120+
autosuggestion.enable = cfg.enableAutosuggestions;
119121
};
120122
})
121123

0 commit comments

Comments
 (0)