diff --git a/lib/-ftb-fzf b/lib/-ftb-fzf index 704c857..516d9fa 100755 --- a/lib/-ftb-fzf +++ b/lib/-ftb-fzf @@ -81,7 +81,7 @@ fi _ftb_query="${_ftb_query}$(command "$dd" bs=1G count=1 status=none iflag=nonblock < /dev/tty 2>/dev/null)" || true -SHELL=$ZSH_NAME $fzf_command \ +FZF_DEFAULT_OPTS='' SHELL=$ZSH_NAME $fzf_command \ --ansi \ --bind=$binds \ --bind="${switch_group[1]}:reload($reload_command -1),${switch_group[2]}:reload($reload_command 1)" \ diff --git a/lib/ftb-tmux-popup b/lib/ftb-tmux-popup index 0315804..c2416dc 100755 --- a/lib/ftb-tmux-popup +++ b/lib/ftb-tmux-popup @@ -87,7 +87,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 "env SHELL=$ZSH_NAME $commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$ +echo -E "env FZF_DEFAULT_OPTS='' 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 \