aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/bash/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-30 22:31:37 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-30 22:31:37 +0530
commit5f8027fef5ab482be9275aa310ac22dd1d414159 (patch)
treeb0e8712d770e615d1222ebb6b3d3aeb566fe7fb0 /modules/shell/bash/default.nix
parentb89e5d998891feb55b14220e129c6ee69c98cacb (diff)
downloadhome-manager-config-5f8027fef5ab482be9275aa310ac22dd1d414159.tar.gz
home-manager-config-5f8027fef5ab482be9275aa310ac22dd1d414159.zip
Changed the zsh prompt and forcing neovim to use tabs instead of spaces for all files.
Diffstat (limited to 'modules/shell/bash/default.nix')
-rw-r--r--modules/shell/bash/default.nix6
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";
};
}