diff options
author | lassulus <lassulus@lassul.us> | 2020-01-11 21:00:57 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-01-11 21:00:57 +0100 |
commit | c07ba2d80874b9f669377ce15e6992a67400a80d (patch) | |
tree | 5301f00a681d3d491f8b09ed92dad9e101c1e9f7 | |
parent | 6b5c205e6b4d5e904bc3f0d0090ec0d9fcbdc0d9 (diff) |
l fzfmenu: fix no match behaviour
-rw-r--r-- | lass/5pkgs/fzfmenu/default.nix | 4 |
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" '' |