Skip to content
Myr

Revert "[fzf-tmux] Fix #204 - Escape command substitution"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit 7b6a27cb5e15c7bb749ffc9adbc74f852c3ad6c2.

authored by Junegunn Choi · committed by Junegunn Choi · parent 7b6a27c · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:bin/fzf-tmux+2 added-2 removed
120 unmodified lines
121mkfifo $fifo2122mkfifo $fifo3123if [ -n "$term" -o -t 0 ]; then124 tmux set-window-option -q synchronize-panes off \;\125 split-window $opt "cd $(printf %q "$PWD");$envs"' bash -c "'$fzf' \$(cat '$argsf') > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap125 split-window $opt "cd $(printf %q "$PWD");$envs"' bash -c "'$fzf' $(cat '$argsf') > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap126else127 mkfifo $fifo1128 tmux set-window-option -q synchronize-panes off \;\129 split-window $opt "$envs"' bash -c "'$fzf' \$(cat '$argsf') < '$fifo1' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap129 split-window $opt "$envs"' bash -c "'$fzf' $(cat '$argsf') < '$fifo1' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap130 cat <&0 > $fifo1 &131fi132cat $fifo2133[ "$(cat $fifo3)" = '0' ]
1 unmodified line