This script installs (or updates) FZF.
My home directory structure looks like this:
$HOME
└─── .local
├── bin
├── lib
│ ├── python
│ ├── shell
│ └── venv
├── man
│ └── man1
├── share
│ ├── doc
│ ├── man
│ └── ykman
└── src
├── aws-cli
├── fzf
└── lesspipe
Where $HOME/.local/bin
is the first or second entry in $PATH
depending if I'm running homebrew.
If your home directory structure differs, you can edit the three variables at the top of the script to match your system.
Just run the script to install or update fzf:
./update-fzf.sh