fzf-tab
fzf-tab copied to clipboard
[BUG] Manual installation instructions don't work
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.
-% git clone [email protected]:Aloxaf/fzf-tab.git
+% git clone https:github.com/Aloxaf/fzf-tab
It works well after changing this line