nixos/home/env/zsh.nix

20 lines
443 B
Nix
Raw Normal View History

{ config, ... }:
{
programs.zsh = {
enable = true;
shellAliases = {
ll = "ls -l";
2023-04-21 07:35:29 +01:00
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;
}