mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
Make sure to start tmux pane from the current directory (#143)
- fzf-tmux
- CTRL-T of bash/zsh/fish
- fish implementation may not work if the path contains
double-quote characters (FIXME)
This commit is contained in:
@@ -115,7 +115,7 @@ mkfifo $fifo2
|
||||
mkfifo $fifo3
|
||||
if [ -n "$term" -o -t 0 ]; then
|
||||
tmux set-window-option -q synchronize-panes off \;\
|
||||
split-window $opt "$envs"' sh -c "'$fzf' '"$fzf_args"' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
||||
split-window $opt "cd $(printf %q "$PWD");$envs"' sh -c "'$fzf' '"$fzf_args"' > '$fifo2'; echo \$? > '$fifo3' '"$close"'"' $swap
|
||||
else
|
||||
mkfifo $fifo1
|
||||
tmux set-window-option -q synchronize-panes off \;\
|
||||
|
||||
Reference in New Issue
Block a user