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