2023-06-05 15:50:07 +00:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
programs.zsh.enableCompletion = true;
|
|
|
|
programs.zsh.enableGlobalCompInit = false;
|
|
|
|
programs.zsh.interactiveShellInit = ''
|
|
|
|
source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh
|
2023-07-01 11:00:07 +00:00
|
|
|
'';
|
|
|
|
programs.zsh = {
|
|
|
|
autosuggestions.enable = true;
|
|
|
|
promptInit = ''
|
|
|
|
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
users.defaultUserShell = pkgs.zsh;
|
2023-06-05 15:50:07 +00:00
|
|
|
}
|