3 ms·
I've been using a zsh plugin called fzf-tab[1] for the past few weeks and it's been awesome. So many use cases: - of course, command completion - type `echo $
by maddyboo 7y ago
I've been using a zsh plugin called fzf-tab[1] for the past few weeks and it's been awesome. So many use cases:
- of course, command completion
- type `echo $` and press tab - fzf through all your environment variables
- type `command ` and press tab - fzf through all programs available in your PATH
- type `builtin ` and press tab - fzf through all of zsh's builtin functions
- select multiple results at once, they'll be concatenated with spaces
- pick files, with the ability to press / to select a directory and automatically restart fzf-tab inside of it
1: https://github.com/Aloxaf/fzf-tab https://github.com/Aloxaf/fzf-tab
- nhooyr 7y agoThis is included in fzf itself. See https://github.com/junegunn/fzf/wiki/Configuring-fuzzy-completion https://github.com/junegunn/fzf/wiki/Configuring-fuzzy-compl...
- TsiCClawOfLight 7y agoWhat exactly is included in fzf itself? I use fzf a lot, but I've never come across these features.
- JNRowe 7y agoThe file selection/multi picker example at least can work with the fzf package alone. There are a bunch of files in shell/ from the tarball that enable a little magic like interactive history support and the inline picker. On Debian they're also installed in /usr/share/doc/fzf/examples/ for sourcing in your .${shell}rc. No idea about out-of-the-box support for any of the other completions from maddyboo's post :/.