diff options
author | tv <tv@krebsco.de> | 2020-06-16 21:19:23 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-06-16 21:20:36 +0200 |
commit | 3197b9a93007cda073df939c40131fda15415a64 (patch) | |
tree | 388c6be318c229e1c9f08189afaf78831d834dce /krebs | |
parent | 773095812fa57d2f78bc7a2f491ef5dc9188b2bf (diff) |
fzfmenu: support $FZFMENU_FZF_DEFAULT_OPTS
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/5pkgs/simple/fzfmenu/default.nix | 5 |
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 \ |