2023-03-29 15:38:01 +01:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
2023-05-16 15:58:12 +01:00
|
|
|
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";
|
2023-05-16 15:58:12 +01:00
|
|
|
};
|
2023-03-29 15:38:01 +01:00
|
|
|
history = {
|
|
|
|
size = 10000;
|
|
|
|
path = "${config.xdg.dataHome}/zsh/history";
|
|
|
|
};
|
|
|
|
};
|
2023-04-29 12:38:42 +01:00
|
|
|
programs.keychain.enableZshIntegration = true;
|
|
|
|
programs.starship.enableZshIntegration = true;
|
2023-05-12 15:27:21 +01:00
|
|
|
programs.nix-index.enableZshIntegration = true;
|
2023-03-29 15:38:01 +01:00
|
|
|
}
|