nixos/home/env/zsh.nix

20 lines
465 B
Nix
Raw Normal View History

{ 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;
}