Difference between revisions of "Talk:Zsh"

From NixOS Wiki
Jump to: navigation, search
(Added comment regarding the autosuggestionS change)
(Add example error for the non-existing non-pluralized version)
Line 6: Line 6:
  
 
:Yes, I just undid a recent change that removed the plural 's' of autosuggestion'''s'''. See https://github.com/NixOS/nixpkgs/blob/44534bc021b85c8d78e465021e21f33b856e2540/nixos/modules/programs/zsh/zsh-autosuggestions.nix#L19 for reference (current stable at time of writing) --[[User:Fadenb|Fadenb]] ([[User talk:Fadenb|talk]]) 16:13, 12 February 2025 (UTC)
 
:Yes, I just undid a recent change that removed the plural 's' of autosuggestion'''s'''. See https://github.com/NixOS/nixpkgs/blob/44534bc021b85c8d78e465021e21f33b856e2540/nixos/modules/programs/zsh/zsh-autosuggestions.nix#L19 for reference (current stable at time of writing) --[[User:Fadenb|Fadenb]] ([[User talk: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:
 +
 +
<pre>
 +
┃        error: The option `programs.zsh.autosuggestion' does not exist. Definition values:
 +
┃        - In `/etc/nixos/configuration.nix':
 +
┃            {
 +
┃              enable = true;
 +
┃            }
 +
</pre>
 +
--[[User:Fadenb|Fadenb]] ([[User talk:Fadenb|talk]]) 21:43, 9 April 2025 (UTC)

Revision as of 21:43, 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)