zsh: Use grml config system wide

This commit is contained in:
Simon Bruder 2021-02-14 13:29:51 +01:00
parent e8a6110521
commit eb97e936ed
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 1 additions and 3 deletions

View file

@ -77,6 +77,7 @@ in
# Set zsh as default shell # Set zsh as default shell
programs.zsh.enable = true; programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
environment.etc."zshrc.local".source = "${pkgs.grml-zsh-config}/etc/zsh/zshrc";
# command-not-found does not work without channels # command-not-found does not work without channels
programs.command-not-found.enable = false; programs.command-not-found.enable = false;

View file

@ -45,9 +45,6 @@ in
envExtra = '' envExtra = ''
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
''; '';
initExtraBeforeCompInit = ''
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
'';
initExtra = '' initExtra = ''
eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal) eval $(${pkgs.coreutils}/bin/dircolors -b ${dircolors-solarized}/dircolors.ansi-universal)