vim-plug

Manage fzf from inside vim with vim-plug plugin manager as it gives the latest binaries, options and also portable, not tied to any OS distribution.

Lang: vim
" Add this to ~/.vimrc for vim-plug plugin manager
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }

Update shells

Zsh

Lang: zsh
# add fzf in vim-plug path to PATH
path=("$HOME/.vim/plugged/fzf/bin" $path)

# source fzf auto completions
if [ -f ~/.vim/plugged/fzf/shell/completion.zsh ]; then
	source ~/.vim/plugged/fzf/shell/completion.zsh
fi

# source fzf key bindings
if [ -f ~/.vim/plugged/fzf/shell/key-bindings.zsh ]; then
        source ~/.vim/plugged/fzf/shell/key-bindings.zsh
fi

Bash

Lang: bash
# add fzf in vim-plug path to PATH
export PATH="$HOME/.vim/plugged/fzf/bin:$PATH"

# source fzf auto completions
if [ -f ~/.vim/plugged/fzf/shell/completion.bash ]; then
        source ~/.vim/plugged/fzf/shell/completion.bash
fi

# source fzf key bindings
if [ -f ~/.vim/plugged/fzf/shell/key-bindings.bash ]; then
        source ~/.vim/plugged/fzf/shell/key-bindings.bash
fi