diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-20 20:58:05 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-20 20:58:21 +0900 |
| commit | dac81432d609d1641ce2185989dd7905b8d86183 (patch) | |
| tree | c3e4c452b614a00246e7a728e06ab46619693176 /shell | |
| parent | 309b5081ef67e6367fab46bb201efb25871f5507 (diff) | |
| download | fzf-dac81432d609d1641ce2185989dd7905b8d86183.tar.gz | |
[zsh/key-bindings] don't unescape FZF_DEFAULT_OPTS (addendum: #4262)
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/key-bindings.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh index 46580670..9c4215e0 100644 --- a/shell/key-bindings.zsh +++ b/shell/key-bindings.zsh @@ -41,9 +41,9 @@ if [[ -o interactive ]]; then __fzf_defaults() { # $1: Prepend to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS # $2: Append to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS - echo "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1" + echo -E "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1" command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null - echo "${FZF_DEFAULT_OPTS-} $2" + echo -E "${FZF_DEFAULT_OPTS-} $2" } # CTRL-T - Paste the selected file path(s) into the command line |
