diff options
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 } |
