From 21265ba643f1c12ad40e5195de8a3a97682adbde Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 24 Sep 2024 09:50:16 +0530 Subject: Too many changes to count. --- bash/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bash/default.nix') diff --git a/bash/default.nix b/bash/default.nix index c0c17c7..199aa10 100644 --- a/bash/default.nix +++ b/bash/default.nix @@ -1,6 +1,7 @@ -{ ... }: +{ config, ... }: { programs.bash.enable = true; - programs.bash.historyFile = "$HOME/.cache/bash/history"; + programs.bash.historyFile = "${config.xdg.cacheHome}/bash/history"; + home.file."${config.xdg.cacheHome}/bash/histroy".text = ""; # Create the cache directory and histroy file } -- cgit v1.2.3