28 lines
524 B
Nix
28 lines
524 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
}
|