m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-12 21:33:49 -05:00

Updated Examples (markdown)

knutze
2022-08-28 07:05:15 +09:00
parent 126dc99a67
commit ca0a700e8e

@@ -588,10 +588,9 @@ _fzf_history_msys2() {
# stdin is passed to winpty as-is tty, and input/output
# to/from fzf is via file.
winpty -- bash -c "set -o pipefail;
cat '${WORK_DIR}'/input | \
FZF_DEFAULT_OPTS='${FZF_OPTS}' fzf --query '${READLINE_LINE}' \
>'${WORK_DIR}'/output
winpty -- bash -c "
FZF_DEFAULT_OPTS='${FZF_OPTS}' fzf --query '${READLINE_LINE}' \
<'${WORK_DIR}'/input >'${WORK_DIR}'/output
" || return
# Get fzf output from file.