Revert "[fzf-tmux] Fix #204 - Escape command substitution"
This reverts commit 7b6a27cb5e
.
This commit is contained in:
parent
7b6a27cb5e
commit
16ca9c688b
@ -122,11 +122,11 @@ mkfifo $fifo2
|
|||||||
mkfifo $fifo3
|
mkfifo $fifo3
|
||||||
if [ -n "$term" -o -t 0 ]; then
|
if [ -n "$term" -o -t 0 ]; then
|
||||||
tmux set-window-option -q synchronize-panes off \;\
|
tmux set-window-option -q synchronize-panes off \;\
|
||||||
split-window $opt "cd $(printf %q "$PWD");$envs"' bash -c "'$fzf' \$(cat '$argsf') > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
split-window $opt "cd $(printf %q "$PWD");$envs"' bash -c "'$fzf' $(cat '$argsf') > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
||||||
else
|
else
|
||||||
mkfifo $fifo1
|
mkfifo $fifo1
|
||||||
tmux set-window-option -q synchronize-panes off \;\
|
tmux set-window-option -q synchronize-panes off \;\
|
||||||
split-window $opt "$envs"' bash -c "'$fzf' \$(cat '$argsf') < '$fifo1' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
split-window $opt "$envs"' bash -c "'$fzf' $(cat '$argsf') < '$fifo1' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
||||||
cat <&0 > $fifo1 &
|
cat <&0 > $fifo1 &
|
||||||
fi
|
fi
|
||||||
cat $fifo2
|
cat $fifo2
|
||||||
|
Loading…
Reference in New Issue
Block a user