summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-01-11 21:00:57 +0100
committerlassulus <lassulus@lassul.us>2020-01-11 21:00:57 +0100
commitc07ba2d80874b9f669377ce15e6992a67400a80d (patch)
tree5301f00a681d3d491f8b09ed92dad9e101c1e9f7 /lass/5pkgs
parent6b5c205e6b4d5e904bc3f0d0090ec0d9fcbdc0d9 (diff)
l fzfmenu: fix no match behaviour
Diffstat (limited to 'lass/5pkgs')
-rw-r--r--lass/5pkgs/fzfmenu/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/5pkgs/fzfmenu/default.nix b/lass/5pkgs/fzfmenu/default.nix
index 905a5ce6b..bdae8ceed 100644
--- a/lass/5pkgs/fzfmenu/default.nix
+++ b/lass/5pkgs/fzfmenu/default.nix
@@ -37,9 +37,9 @@ pkgs.writeDashBin "fzfmenu" ''
-e ${pkgs.dash}/bin/dash -c \
"echo \"$INPUT\" | ${pkgs.fzf}/bin/fzf \
--history=/dev/null \
- --no-sort \
+ --print-query \
--prompt=\"$PROMPT\" \
> \"$OUTPUT\"" 2>/dev/null
- ${pkgs.coreutils}/bin/cat "$OUTPUT"
+ ${pkgs.coreutils}/bin/tail -1 "$OUTPUT"
${pkgs.coreutils}/bin/rm "$OUTPUT"
''