nixos/home/env/zsh.nix

18 lines
462 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{config, ...}: {
programs.zsh = {
enable = true;
shellAliases = {
ll = "ls -l";
lg = "lazygit";
2023-05-16 15:59:49 +01:00
nixos-update = "sudo git -C /etc/nixos/config pull && sudo nixos-rebuild switch";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
};
programs.keychain.enableZshIntegration = true;
programs.starship.enableZshIntegration = true;
programs.nix-index.enableZshIntegration = true;
}