Difference between revisions of "Talk:Zsh"
From NixOS Wiki
(Add example error for the non-existing non-pluralized version) |
(Noted that I was wrong before (actually, multiple times). Linked to proper documentation and tried to spell out what the confusion was.) |
||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
--[[User:Fadenb|Fadenb]] ([[User talk:Fadenb|talk]]) 21:43, 9 April 2025 (UTC) | --[[User:Fadenb|Fadenb]] ([[User talk:Fadenb|talk]]) 21:43, 9 April 2025 (UTC) | ||
+ | |||
+ | '''Correction:''' The example is for the ''home-manager [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.zsh.autosuggestion.enable variant]'', not the similarly named NixOS option. With this in mind, please ignore my statements above. I also added a warning on the page pointing here to avoid future confusion. | ||
+ | |||
+ | --[[User:Fadenb|Fadenb]] ([[User talk:Fadenb|talk]]) 21:53, 9 April 2025 (UTC) |
Latest revision as of 21:53, 9 April 2025
These optiosn could be updated with the current system wide options
The "autosuggestion.enable = true;" part of the example config seems not to work.
- Yes, I just undid a recent change that removed the plural 's' of autosuggestions. See https://github.com/NixOS/nixpkgs/blob/44534bc021b85c8d78e465021e21f33b856e2540/nixos/modules/programs/zsh/zsh-autosuggestions.nix#L19 for reference (current stable at time of writing) --Fadenb (talk) 16:13, 12 February 2025 (UTC)
- Once more, for clarifications. The version with a plural 's' is correct. Without it, it does not work:
┃ error: The option `programs.zsh.autosuggestion' does not exist. Definition values: ┃ - In `/etc/nixos/configuration.nix': ┃ { ┃ enable = true; ┃ }
--Fadenb (talk) 21:43, 9 April 2025 (UTC)
Correction: The example is for the home-manager variant, not the similarly named NixOS option. With this in mind, please ignore my statements above. I also added a warning on the page pointing here to avoid future confusion.