diff options
Diffstat (limited to 'modules/shell/bash/default.nix')
| -rw-r--r-- | modules/shell/bash/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/shell/bash/default.nix b/modules/shell/bash/default.nix index 2e65d60..a82f924 100644 --- a/modules/shell/bash/default.nix +++ b/modules/shell/bash/default.nix @@ -19,6 +19,10 @@ programs.bash.enable = true; programs.bash.historyFile = "${config.xdg.cacheHome}/bash/history"; programs.bash.shellAliases = config.shell.alias; - home.file."${config.xdg.cacheHome}/bash/histroy".text = ""; # Create the cache directory and histroy file + + home.activation.createBashCacheDirectory + = lib.hm.dag.entryAfter + [ "writeBoundary" ] + "mkdir -p ${config.xdg.cacheHome}/bash"; }; } |
