m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Updated Examples (markdown)

MahouShoujoMivutilde
2020-10-15 15:03:31 +03:00
parent ecb3443029
commit b35e3e3264

@@ -1493,7 +1493,7 @@ chmod 600 $input $output
# (e.g. --preview='echo {1}'). # (e.g. --preview='echo {1}').
# sadly we can't use "$@" here directly because we are inside sh -c "..." call # sadly we can't use "$@" here directly because we are inside sh -c "..." call
# already. # already.
# you can also set window dimensions via -g '=ROWxCOLS', see man st. # you can also set window dimensions via -g '=COLSxROWS', see man st.
st -c fzfmenu -n fzfmenu -e sh -c "cat $input | fzf $(printf -- " '%s'" "$@" | sed "s/^ ''$//") | tee $output" & disown st -c fzfmenu -n fzfmenu -e sh -c "cat $input | fzf $(printf -- " '%s'" "$@" | sed "s/^ ''$//") | tee $output" & disown
# handle ctrl+c outside child terminal window # handle ctrl+c outside child terminal window