mirror of
https://github.com/Aloxaf/fzf-tab.git
synced 2026-09-10 07:26:16 -04:00
fix(ftb-tmux-popup): default shell (#412)
* fix(ftb-tmux-popup): default shell close #410 * fix: invoke fzf with env command
This commit is contained in:
parent
7cd93f6a83
commit
869acb58ca
|
|
@ -86,7 +86,7 @@ fi
|
|||
popup_width=$(( min(max(comp_length + 5, popup_min_size[1]), window_width) ))
|
||||
popup_x=$(( cursor_x + popup_width > window_width ? window_width - popup_width : cursor_x ))
|
||||
|
||||
echo -E "$commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$
|
||||
echo -E "env SHELL=$ZSH_NAME $commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$
|
||||
{
|
||||
tmux popup -x $popup_x -y $popup_y \
|
||||
-w $popup_width -h $popup_height \
|
||||
|
|
|
|||
Loading…
Reference in a new issue