[fzf-tmux] Fix issue with zoomed pane on fish (#891)

This commit is contained in:
五所和哉 2017-04-01 11:09:46 +09:00 committed by Junegunn Choi
parent 5d12f523a3
commit bbe696e925

View File

@ -121,7 +121,7 @@ args+=("--no-height")
if tmux list-panes -F '#F' | grep -q Z; then
zoomed=1
original_window=$(tmux display-message -p "#{window_id}")
tmp_window=$(tmux new-window -d -P -F "#{window_id}" "bash -c 'while :; do for c in \\| / - \\\\; do sleep 0.2; printf \"\\r\$c fzf-tmux is running\\r\"; done; done'")
tmp_window=$(tmux new-window -d -P -F "#{window_id}" "bash -c 'while :; do for c in \\| / - '\\;' do sleep 0.2; printf \"\\r\$c fzf-tmux is running\\r\"; done; done'")
tmux swap-pane -t $tmp_window \; select-window -t $tmp_window
fi