From 84fa81c7acb018c3c5a504dcefbc28a182c933c2 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Wed, 18 Oct 2023 11:37:24 +0200 Subject: [PATCH] fzf: add mkOrder for fish like we do for other shells --- modules/programs/fzf.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/programs/fzf.nix b/modules/programs/fzf.nix index 02691e37d..062df1864 100644 --- a/modules/programs/fzf.nix +++ b/modules/programs/fzf.nix @@ -190,8 +190,9 @@ in { fi ''); - programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration '' - source ${cfg.package}/share/fzf/key-bindings.fish && fzf_key_bindings - ''; + programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration + (mkOrder 200 '' + source ${cfg.package}/share/fzf/key-bindings.fish && fzf_key_bindings + ''); }; }