Open andrewbraxton opened 1 month ago
I am also running into this issue. Removing export FZF_DEFAULT_OPTS='--tmux'
and restarting the tmux session fixes ftb-tmux-popup
, but this is un-ideal as that (obviously) disables the tmux popup for fzf when doing a deep-fuzzy search (e.g. ls ./fuzz**
<tab>
will not open a tmux popup and will instead produce output below the prompt).
interestingly, if I remove export FZF_DEFAULT_OPTS='--tmux'
from my zshrc
, start a tmux session, add export FZF_DEFAULT_OPTS='--tmux'
to my zshrc, then run zsh
to restart the shell, both ftb-tmux-popup and the fzf tmux popup work as intended
Yeah, I ran a bunch of the same experiments and got similar confusing results.
I have the same problem, but I couldn't resolve it even when trying your trick. Did you figure this out?
My current workaround is editing ftb-tmux-popup
so it runs fzf without "--tmux" in its opts, like so:
echo -E "env SHELL=$ZSH_NAME FZF_DEFAULT_OPTS=$BASE_FZF_DEFAULT_OPTS $commands[fzf] ${(qq)fzf_opts[@]} < $tmp_dir/completions.$$ > $tmp_dir/result-$$" > $tmp_dir/fzf-$$
Seems to do the job.
I'm also seeing this issue as well. My current workaround is to alias fzf='fzf --tmux=80%' while keeping the rest of my config defined on FZF_DEFAULT_OPTS
Describe the bug
Using
--tmux
in an exportedFZF_DEFAULT_OPTS
breaksftb-tmux-popup
. Weird thing is that it seems to stay broken even if youunset FZF_DEFAULT_OPTS
.I can make sure:
compinit
To Reproduce
ls
(or anything)Expected behavior
Popup appears normally and allows selection
Environment:
Minimal zshrc