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; useBabelfish = true;
}; };
programs.zsh = { programs.zsh =
enable = true; {
# https://grml.org/zsh/grmlzshrc.html enable = true;
# https://grml.org/zsh/grml-zsh-refcard.pdf }
interactiveShellInit = '' // lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc # https://grml.org/zsh/grmlzshrc.html
''; # https://grml.org/zsh/grml-zsh-refcard.pdf
promptInit = ""; # otherwise it'll override the grml prompt interactiveShellInit = ''
}; source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
'';
promptInit = ""; # otherwise it'll override the grml prompt
};
}; };
} }