From e23badca2a634a7e1937db51fb2ef9dc85c07b2c Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 24 Jul 2025 23:35:53 +0200 Subject: [PATCH] feat: enable command-not-found; set zsh histsize higher --- modules/home/zsh.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index d771fdc..8082e59 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -7,6 +7,7 @@ }: { programs = { + command-not-found.enable = true; zsh = { enable = true; autocd = true; @@ -27,8 +28,8 @@ SYSTEMD_LESS = "FRXMK"; # Fix weird sideways scrolling in systemctl status ... ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#808080"; ZSH_AUTOSUGGEST_USE_ASYNC = 1; - HISTSIZE = 100000; - SAVEHIST = 100000; + HISTSIZE = 10000000; + SAVEHIST = 10000000; HISTFILE = "~/.zsh_history"; HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE = 1; };