Skip to content

Commit 01dad75

Browse files
committed
fix: there is no need to clear FZF_DEFAULT_OPTS in ftb-tmux-popup
close #509
1 parent 6aced3f commit 01dad75

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
@@ -87,7 +87,7 @@ fi
8787
popup_width=$(( min(max(comp_length + 5, popup_min_size[1]), window_width) ))
8888
popup_x=$(( cursor_x + popup_width > window_width ? window_width - popup_width : cursor_x ))
8989

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

0 commit comments

Comments
 (0)