mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-13 13:53:47 -05:00
Updated Examples (markdown)
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user