From 1474caa8f624aa568ea011629d1aec4ae2aca3c1 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:03:12 +0530 Subject: Using fzf as the application launcher. --- modules/shell/bash/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/shell/bash/default.nix') 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 -- cgit v1.2.3