mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +00:00
zsh: use correct autosuggestion color variable (#5320)
To configure zsh's autosuggest "highlight style" we use ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE but it's currently set to AUTOSUGGESTION_HIGHLIGHT_COLOR (via autosuggestion.highlight). This change was apparently made back in 2016 or earlier.
This commit is contained in:
parent
bfa7c06436
commit
2f072c127c
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ in
|
||||||
source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source ${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
'')
|
'')
|
||||||
(optionalString (cfg.autosuggestion.enable && cfg.autosuggestion.highlight != null) ''
|
(optionalString (cfg.autosuggestion.enable && cfg.autosuggestion.highlight != null) ''
|
||||||
AUTOSUGGESTION_HIGHLIGHT_COLOR="${cfg.autosuggestion.highlight}"
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="${cfg.autosuggestion.highlight}"
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(optionalString cfg.oh-my-zsh.enable ''
|
(optionalString cfg.oh-my-zsh.enable ''
|
||||||
|
|
Loading…
Reference in a new issue