m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 13:53:47 -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 # stdin is passed to winpty as-is tty, and input/output
# to/from fzf is via file. # to/from fzf is via file.
winpty -- bash -c "set -o pipefail; winpty -- bash -c "
cat '${WORK_DIR}'/input | \
FZF_DEFAULT_OPTS='${FZF_OPTS}' fzf --query '${READLINE_LINE}' \ FZF_DEFAULT_OPTS='${FZF_OPTS}' fzf --query '${READLINE_LINE}' \
>'${WORK_DIR}'/output <'${WORK_DIR}'/input >'${WORK_DIR}'/output
" || return " || return
# Get fzf output from file. # Get fzf output from file.