Add directory to $PATH if it doesn't exist
Either of the following will work:
if [[ ! "$PATH" == *${HOME}/.local/share/fzf/bin* ]]; then
PATH="${PATH:+${PATH}:}${HOME}/.local/share/fzf/bin"
fi
case ":${PATH}:" in
*:"$HOME/.local/share/fzf/bin":*) ;;
*) export PATH="$HOME/.local/share/fzf/bin:$PATH" ;;
esac