mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
feat(script): wrapper function
This commit is contained in:
@@ -10,7 +10,9 @@ 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 -g 85x15 -e sh -c "cat $input | fzf $* | tee $output" & disown
|
||||
st -c fzfmenu -n fzfmenu -g 85x10 \
|
||||
-e dash \
|
||||
-c "cat $input | fzf --print-query $* | tee $output" & disown
|
||||
|
||||
# handle ctrl+c outside child terminal window
|
||||
trap 'kill $! 2>/dev/null; rm -f $input $output' EXIT
|
||||
|
||||
Reference in New Issue
Block a user