diff options
| author | bitraid <bitraid@protonmail.ch> | 2025-01-24 10:15:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 17:15:43 +0900 |
| commit | 26b9f5831a352f501e426d9e5c0c588a3656b0be (patch) | |
| tree | c8c02faa209e2422e956fff2722a8d50928b1a28 | |
| parent | 243a76002c93b474cf8401b37670a43803a0a2d2 (diff) | |
| download | fzf-26b9f5831a352f501e426d9e5c0c588a3656b0be.tar.gz | |
[fish] Fix compatibility with v3.1.2 - v3.3.1 (#4200)
Don't use the command substitution syntax: $(cmd)
Fix #4196
| -rw-r--r-- | shell/key-bindings.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index f343bd15..15c53ef2 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -75,7 +75,7 @@ function fzf_key_bindings 'string join0 -- $i\t(string replace -a -- \n \n\t $h[$i] | string collect);' \ 'end' end - set -l result (eval "$FZF_DEFAULT_COMMAND | $(__fzfcmd) --read0 --print0 -q (commandline) --bind='enter:become:string replace -a -- \n\t \n {2..} | string collect'") + set -l result (eval $FZF_DEFAULT_COMMAND \| (__fzfcmd) --read0 --print0 -q (commandline | string escape) "--bind=enter:become:'string replace -a -- \n\t \n {2..} | string collect'") and commandline -- $result end commandline -f repaint |
