diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 09:50:16 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 09:50:16 +0530 |
| commit | 21265ba643f1c12ad40e5195de8a3a97682adbde (patch) | |
| tree | 9a73872c8add9bf82a7e20ccac436bcc965a69c5 /bash | |
| parent | 275903e8ecc9161c6c690a83ca5b1eb7b67899a4 (diff) | |
| download | home-manager-config-21265ba643f1c12ad40e5195de8a3a97682adbde.tar.gz home-manager-config-21265ba643f1c12ad40e5195de8a3a97682adbde.zip | |
Too many changes to count.
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
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 } |
