{...}: { programs.zsh = { enable = true; enableCompletion = true; autosuggestion.enable = true; syntaxHighlighting.enable = true; history = { size = 10000; ignoreAllDups = true; path = "$HOME/.zsh_history"; ignorePatterns = [ "rm *" ]; }; }; }