Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.28k stars 94 forks source link

Add more detailed instructions about compinit in README #387

Closed Lostlitus closed 7 months ago

Lostlitus commented 1 year ago

Is your feature request related to a problem? Please describe. I bought a new macOS machine and tried to configure zsh from scratch. I had installed fzf-tab in my old macOS machine and everything works well. While this time I follow the README and download it manually just like before, fzf-tab just does nothing when I press tab. After googling I found it is because I did not add command like autoload -Uz compinit && compinit in ~/.zshrc. Now I look back to this README to find there has just one inconspicuous sentence saying fzf-tab needs to be loaded after compinit. I have not used other zsh completion plugins before so I just assumed it is some plugins like zsh-autosuggestions and ignored it.

Describe the solution you'd like I believe it is necessary to tell those who choose to install fzf-tab manually that command like autoload -Uz compinit && compinit is needed. And I find that other zsh completion plugins like zsh-completions did do this in Manual installation section.

Describe alternatives you've considered Adding more detailed instructions is enough.

Additional context fzf-tab is magic, I like it. Hope it can become better.