Skip to content

Commit cdc36de

Browse files
committed
Merge branch 'master' of github.com:Aloxaf/fzf-tab
2 parents 14caec7 + 869acb5 commit cdc36de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ftb-tmux-popup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fi
8686
popup_width=$(( min(max(comp_length + 5, popup_min_size[1]), window_width) ))
8787
popup_x=$(( cursor_x + popup_width > window_width ? window_width - popup_width : cursor_x ))
8888

89-
echo -E "$commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$
89+
echo -E "env SHELL=$ZSH_NAME $commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$
9090
{
9191
tmux popup -x $popup_x -y $popup_y \
9292
-w $popup_width -h $popup_height \

0 commit comments

Comments
 (0)