This plugin tries to find fzf based on where it's been installed, and enables its fuzzy auto-completion and key bindings.
This plugin will not install fzf for you. This needs to be done before using.
To use it, add fzf.zsh to the plugins in your zshrc file. The following is an example using zinit:
zinit wait lucid for \
OMZL::key-bindings.zsh \
OMZL::history.zsh \
OMZP::git \
casonadams/alacritty-shell \
casonadams/fzf.zsh \
;All these settings should go in your zshrc file, before the plugin is loaded.
Set to fzf installation directory path:
export FZF_BASE=/path/to/fzf/install/dirSet default command to use when input is tty:
export FZF_DEFAULT_COMMAND='<your fzf default command>'If not set, the plugin will try to set it to these, in the order in which they're found:
The plugin default settings lets one toggle the preview window using ?
Set whether to load fzf auto-completion:
DISABLE_FZF_AUTO_COMPLETION="true"Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):
DISABLE_FZF_KEY_BINDINGS="true"