aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/bash
diff options
context:
space:
mode:
Diffstat (limited to 'modules/shell/bash')
-rw-r--r--modules/shell/bash/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/shell/bash/default.nix b/modules/shell/bash/default.nix
index a82f924..fb1040a 100644
--- a/modules/shell/bash/default.nix
+++ b/modules/shell/bash/default.nix
@@ -19,6 +19,11 @@
programs.bash.enable = true;
programs.bash.historyFile = "${config.xdg.cacheHome}/bash/history";
programs.bash.shellAliases = config.shell.alias;
+ programs.bash.bashrcExtra = ''
+${if config.tools.fzf.enable then
+ "eval \"$(fzf --bash)\""
+else ""}
+ '';
home.activation.createBashCacheDirectory
= lib.hm.dag.entryAfter