
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/
20 lines
500 B
Nix
20 lines
500 B
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
./packages.nix
|
|
./users.nix
|
|
];
|
|
|
|
programs.fish.enable = true;
|
|
# disable generated completion
|
|
environment.etc."fish/generated_completions".text = pkgs.lib.mkForce "";
|
|
|
|
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
|
|
};
|
|
}
|