modules/shared/community-builder: disable grml zsh prompt on darwin

This commit is contained in:
zowoq 2025-01-28 09:48:28 +10:00
parent eb561f0d79
commit fbbc9c0f79

View file

@ -68,14 +68,17 @@
useBabelfish = true;
};
programs.zsh = {
enable = true;
# https://grml.org/zsh/grmlzshrc.html
# https://grml.org/zsh/grml-zsh-refcard.pdf
interactiveShellInit = ''
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
'';
promptInit = ""; # otherwise it'll override the grml prompt
};
programs.zsh =
{
enable = true;
}
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
# https://grml.org/zsh/grmlzshrc.html
# https://grml.org/zsh/grml-zsh-refcard.pdf
interactiveShellInit = ''
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
'';
promptInit = ""; # otherwise it'll override the grml prompt
};
};
}