summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/fzfmenu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-16 21:42:35 +0200
committertv <tv@krebsco.de>2020-06-16 21:42:35 +0200
commit4a31be59b8731c13405f38a76904662a2c344203 (patch)
tree7d7654a87cd3ebeb1014753be567d577b6f9dcae /krebs/5pkgs/simple/fzfmenu
parentf027eaacf27da0661cc9e0d062d64884b22ce290 (diff)
fzfmenu: selectively override FZF_DEFAULT_OPTS
Diffstat (limited to 'krebs/5pkgs/simple/fzfmenu')
-rw-r--r--krebs/5pkgs/simple/fzfmenu/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/5pkgs/simple/fzfmenu/default.nix b/krebs/5pkgs/simple/fzfmenu/default.nix
index 76235ddbd..537b90f42 100644
--- a/krebs/5pkgs/simple/fzfmenu/default.nix
+++ b/krebs/5pkgs/simple/fzfmenu/default.nix
@@ -83,8 +83,8 @@ pkgs.writeDashBin "fzfmenu" ''
esac
done
- FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-}
- if test -n "$FZF_DEFAULT_OPTS"; then
+ if test -n "''${FZFMENU_FZF_DEFAULT_OPTS-}"; then
+ FZF_DEFAULT_OPTS=''${FZFMENU_FZF_DEFAULT_OPTS-}
export FZF_DEFAULT_OPTS
fi