From ca0a700e8e30c97d152bb25e62dac7977bde6f5c Mon Sep 17 00:00:00 2001 From: knutze <34371397+knutze@users.noreply.github.com> Date: Sun, 28 Aug 2022 07:05:15 +0900 Subject: [PATCH] Updated Examples (markdown) --- Examples.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Examples.md b/Examples.md index 02d4695..b44cea9 100644 --- a/Examples.md +++ b/Examples.md @@ -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.