From 16e6fbb68ada4dcf1bec1d761360aeb8176d3157 Mon Sep 17 00:00:00 2001 From: saheratarch <49341975+saheratarch@users.noreply.github.com> Date: Thu, 19 Mar 2020 15:15:39 +0300 Subject: [PATCH] I made fzfmenu script accept arguments so that the user is able to give fzfmenu fzf options. For example to use fzfmenu --reverse --- Examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples.md b/Examples.md index 55efcbf..a98ffe3 100644 --- a/Examples.md +++ b/Examples.md @@ -1421,7 +1421,7 @@ mkfifo $output chmod 600 $input $output # it's better to use st here (starts a lot faster than pretty much everything else) -st -c fzfmenu -n fzfmenu -e sh -c "cat $input | fzf --print-query | tail -1 | tee $output" & disown +st -c fzfmenu -n fzfmenu -e sh -c "cat $input | fzf $* | tee $output" & disown # handle ctrl+c outside child terminal window trap "kill $! 2>/dev/null; rm -f $input $output" EXIT