Skip to content

[BUG] Manual installation instructions don't work #532

@marlonrichert

Description

@marlonrichert

Describe the bug

A clear and concise description of what the bug is.

I can make sure:

  • I am using the latest version of fzf-tab
  • this is the minimal zshrc which can reproduce this bug
  • fzf-tab is loaded after compinit
  • fzf-tab is loaded after plugins which will wrap Tab, like junegunn/fzf/completion.zsh
  • 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 git@github.com: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions