26 lines
519 B
Nix
26 lines
519 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
shellAliases = {
|
|
update = "sudo nixos-rebuild switch --flake ~/.dotfiles && home-manager switch --flake ~/.dotfiles";
|
|
".." = "cd ..";
|
|
ls = "exa";
|
|
vim = "nvim";
|
|
grep = "rg";
|
|
du = "dust";
|
|
rm = "rip";
|
|
};
|
|
|
|
history = {
|
|
size = 10000;
|
|
path = "${config.xdg.dataHome}/zsh/history";
|
|
};
|
|
};
|
|
}
|