nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.14k stars 1.84k forks source link

bug: Zsh setting the wrong autosuggest color variable #5290

Closed jrunestone closed 7 months ago

jrunestone commented 7 months ago

Are you following the right branch?

Is there an existing issue for this?

Issue description

Seems to me the programs.zsh.autosuggestion.highlight option is setting the wrong variable: AUTOSUGGESTION_HIGHLIGHT_COLOR when it should be ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE.

Or am I the only one trying to style the autosuggest color? :D

Maintainer CC

@teto

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.27, NixOS, 24.05 (Uakari), 24.05.20240416.5672bc9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/3kwj19dbdfxnjbcns4hw307ylhz3wgrm-source`
teto commented 7 months ago

hum I dont remember where I took AUTOSUGGESTION_HIGHLIGHT_COLOR from but following the doc you seem to be right :s I dont have time to investigate though so PR welcome.