From f9e8130f85151b6cc691ec4720252b518e102e75 Mon Sep 17 00:00:00 2001 From: Martin Benonisen Date: Sun, 3 Nov 2024 11:15:59 +0100 Subject: [PATCH] lol --- user/default.nix | 6 ++++++ user/zsh/default.nix | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/user/default.nix b/user/default.nix index 71c2d25..39080c6 100644 --- a/user/default.nix +++ b/user/default.nix @@ -38,6 +38,12 @@ stateVersion = "23.11"; }; programs.home-manager.enable = true; + programs.direnv = { + enable = true; + enableZshIntegration = true; + nix-direnv.enable = true; + }; + }; }; } diff --git a/user/zsh/default.nix b/user/zsh/default.nix index e285777..8649fd0 100644 --- a/user/zsh/default.nix +++ b/user/zsh/default.nix @@ -57,9 +57,9 @@ } ]; }; - history.size = 1000000; + history.size = 100000000; history.path = "${config.xdg.dataHome}/zsh/history"; - histSize = 1000000; - histFile = "${config.xdg.dataHome}/zsh/history2"; + history.share = true; + historySubstringSearch.enable = true; }; }