Fish shell completion using fzf (simple, no bullshit, and fast as hell)
- Fish
- fzf
- eza (optional, for directory previews)
- bat (optional, for file previews)
Install with Fisher:
fisher install developic/fzf-tabSimple installation without Fisher:
curl https://gist.githubusercontent.com/developic/643a0384bd911ec09d43850cddf45688/raw/9c1932b9eb25c4bf83a79a29a3473fdd3149de32/fzf-tab.fish -o ~/.config/fish/functions/__fzf_complete.fish && echo 'bind \t __fzf_complete' >> $XDG_CONFIG_HOME/fish/config.fishPress Tab to open the fzf completion menu.
Select an entry and press Enter to insert it.
You can set $fzf_complete_opts for extra fzf flags:
set -g fzf_complete_opts --border --cycle --info=inline