oh my zsh

This commit is contained in:
Maxiem Geldhof 2025-10-13 18:48:38 +02:00
parent cc74263a3b
commit 643396a7dd
6 changed files with 52 additions and 13 deletions

View file

@ -0,0 +1,9 @@
{
programs.git = {
enable = true;
extraConfig = {
user.name = "Maxiem Geldhof";
user.email = "author@maxiemgeldhof.com";
};
};
}

View file

@ -0,0 +1,28 @@
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -l";
edit = "sudo -e";
update = "sudo nixos-rebuild switch";
};
history.size = 10000;
history.ignoreAllDups = true;
history.path = "$HOME/.zsh_history";
history.ignorePatterns = [
"rm *"
"pkill *"
"cp *"
];
oh-my-zsh = {
enable = true;
theme = "robbyrussell";
};
};
}