fzfmenu: support $FZFMENU_FZF_DEFAULT_OPTS

This commit is contained in:
tv 2020-06-16 21:19:23 +02:00
parent 773095812f
commit 3197b9a930

View File

@ -75,6 +75,11 @@ pkgs.writeDashBin "fzfmenu" ''
esac esac
done done
FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-}
if test -n "$FZF_DEFAULT_OPTS"; then
export FZF_DEFAULT_OPTS
fi
${pkgs.fzf}/bin/fzf \ ${pkgs.fzf}/bin/fzf \
--history=/dev/null \ --history=/dev/null \
--print-query \ --print-query \