modules/shared/community-builder: disable grml zsh prompt on darwin
This commit is contained in:
parent
eb561f0d79
commit
fbbc9c0f79
1 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue