From 606b203205f4b4357d000c0e06e994d1f19bb445 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 28 Apr 2022 09:32:03 +0200 Subject: [PATCH] zsh: Globally set histsize to 100000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise this occasionally deletes my user’s history if the user config is not fully loaded yet. --- modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/default.nix b/modules/default.nix index bd9d119..05413cd 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -71,6 +71,7 @@ # do not glob # (conflicts with nix flakes) disable -p '#' ''; + histSize = 100000; }; users.defaultUserShell = pkgs.zsh; environment.etc."zshrc.local".source = "${pkgs.grml-zsh-config}/etc/zsh/zshrc";