From 3197b9a93007cda073df939c40131fda15415a64 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 16 Jun 2020 21:19:23 +0200 Subject: fzfmenu: support $FZFMENU_FZF_DEFAULT_OPTS --- krebs/5pkgs/simple/fzfmenu/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'krebs/5pkgs') 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 \ -- cgit v1.2.3