zsh: Use grml config system wide
This commit is contained in:
parent
e8a6110521
commit
eb97e936ed
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue