dotfiles/modules/home-manager/zsh.nix
2025-03-19 17:20:39 +01:00

30 lines
705 B
Nix

{...}: {
programs.eza.enable = true;
programs.zsh = {
enable = true;
shellAliases = {
ll = "exa --icons -l";
l = "exa --icons -la";
ls = "exa --icons";
update = "sudo nixos-rebuild switch";
clear = "clear && fastfetch";
sl = "sl | lolcat";
cds = "cd \"$HOME/Nextcloud/Obsidian/FH/2. Semester/\"";
mux = "tmuxinator";
cat = "bat";
cd = "z";
};
initExtra = "fastfetch\n
eval \"$(zoxide init zsh)\"";
history.size = 10000;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = ["git" "docker"];
theme = "strug";
};
};
}