mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 10:49:48 +01:00
parent
fe59b5bbc7
commit
3a80ece9fa
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ in {
|
||||||
eval (${pkgs.coreutils}/bin/dircolors -c ~/.dir_colors)
|
eval (${pkgs.coreutils}/bin/dircolors -c ~/.dir_colors)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
# Set `LS_COLORS` before Oh My Zsh and `initExtra`.
|
||||||
|
programs.zsh.initExtraBeforeCompInit = mkIf cfg.enableZshIntegration ''
|
||||||
eval $(${pkgs.coreutils}/bin/dircolors -b ~/.dir_colors)
|
eval $(${pkgs.coreutils}/bin/dircolors -b ~/.dir_colors)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue