nixos/home/env/zsh.nix

23 lines
547 B
Nix

{ config, ... }:
{
programs.zsh = {
enable = true;
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch";
nr = "sudo nixos-rebuild";
hm = "home-manager";
lg = "lazygit";
nv = "neovide --multigrid --maximized";
xnv = "WINIT_UNIX_BACKEND=x11 neovide --multigrid --maximized";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
};
programs.keychain.enableZshIntegration = true;
programs.starship.enableZshIntegration = true;
}