From 5f8027fef5ab482be9275aa310ac22dd1d414159 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:31:37 +0530 Subject: Changed the zsh prompt and forcing neovim to use tabs instead of spaces for all files. --- modules/shell/bash/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/shell/bash/default.nix') 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"; }; } -- cgit v1.2.3