fzf-tab icon indicating copy to clipboard operation
fzf-tab copied to clipboard

[BUG] Manual installation instructions don't work

Open marlonrichert opened this issue 5 months ago • 1 comments

Describe the bug

A clear and concise description of what the bug is.

I can make sure:

  • [x] I am using the latest version of fzf-tab
  • [x] this is the minimal zshrc which can reproduce this bug
  • [x] fzf-tab is loaded after compinit
  • [x] fzf-tab is loaded after plugins which will wrap Tab, like junegunn/fzf/completion.zsh
  • [x] fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.

To Reproduce

Steps to reproduce the behavior:

% brew install fzf
# ...
% exec zsh
% cd $( mktemp -d )
% git clone [email protected]:Aloxaf/fzf-tab.git
# ...
% > .zshrc <<EOF
setopt interactivecomments transientrprompt
PS1='%# '
PS2=
RPS2='%^'
autoload compinit
compinit
source fzf-tab/fzf-tab.zsh
EOF
% env -i HOME=$PWD PATH=$PATH TERM=$TERM ${TERMINFO:+TERMINFO=$TERMINFO} zsh -d
% fzf  # Test that fzf works.
# It does.
% file # Press Tab here.
% file fzf-tab/  # I get normal completion, not fzf.

Expected behavior

I expect fzf to open when I press Tab, not get normal completion.

Environment:

  • OS: macOS 15.5
  • zsh version: 5.9

Minimal zshrc

See above.

Log

^X does nothing and does not generate any logs.

marlonrichert avatar Jul 03 '25 09:07 marlonrichert

-% git clone [email protected]:Aloxaf/fzf-tab.git
+% git clone https:github.com/Aloxaf/fzf-tab

It works well after changing this line

Aloxaf avatar Jul 11 '25 06:07 Aloxaf