summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/fzfmenu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/simple/fzfmenu/default.nix')
-rw-r--r--krebs/5pkgs/simple/fzfmenu/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/fzfmenu/default.nix b/krebs/5pkgs/simple/fzfmenu/default.nix
index 446419a04..04e53899b 100644
--- a/krebs/5pkgs/simple/fzfmenu/default.nix
+++ b/krebs/5pkgs/simple/fzfmenu/default.nix
@@ -75,6 +75,11 @@ pkgs.writeDashBin "fzfmenu" ''
esac
done
+ FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-}
+ if test -n "$FZF_DEFAULT_OPTS"; then
+ export FZF_DEFAULT_OPTS
+ fi
+
${pkgs.fzf}/bin/fzf \
--history=/dev/null \
--print-query \