dotfiles/modules/home-manager/zsh.nix
2025-03-20 10:57:55 +01:00

37 lines
783 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 = ''
bindkey -s ^f "mux-sessionizer\n"
fastfetch
eval "$(zoxide init zsh)"
'';
history = {
size = 10000;
append = true;
};
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = ["git" "docker"];
theme = "strug";
};
};
}