infra/modules/darwin/community-builder/default.nix
Artturin d3d5e60e5a modules/darwin/community-builder: add a sane zsh config
Biggest benefits are better prompt and the ability to properly use arrow up
to go through the history

`nix<up>` searches through commands which start with `nix`

https://grml.org/
2024-05-31 02:51:05 +00:00

16 lines
341 B
Nix

{ pkgs, ... }:
{
imports = [
./packages.nix
./users.nix
];
programs.zsh = {
# 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
};
}