Aloxaf / fzf-tab

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

[BUG] Void Linux: command not found: _complete #393

Closed ElijaRock closed 1 year ago

ElijaRock commented 1 year ago

Describe the bug

Pressing tab after entering any amount of characters into the terminal emulator responds with:

_ftb__main_complete:143: command not found: _complete
_ftb__main_complete:143: command not found: _ignored

I have fzf package installed with xbps and tried installing zsh-autosuggestions too but it still does not work.

I can make sure:

To Reproduce

Steps to reproduce the behavior:

  1. Type 'neo'
  2. Press Tab
  3. See errors:
    _ftb__main_complete:143: command not found: _complete
    _ftb__main_complete:143: command not found: _ignored

Expected behavior

It will autocomplete with fzf suggestions with many rows and arrow keys can be used to navigate and select along with typing to narrow the list of rows/suggestions down.

Environment:

ElijaRock commented 1 year ago

Needed to add autoload -Uz compinit; compinit to the .zshrc before loading the plugin. Would be nice if it was included in the manual install instructions.