fzfmenu: support $FZFMENU_FZF_DEFAULT_OPTS
This commit is contained in:
parent
773095812f
commit
3197b9a930
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user