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; }; }