fix: only check for fzf git

This commit is contained in:
Price Hiller 2022-07-31 20:53:59 -05:00
parent 4d9360cc97
commit c96f7c8b07

View File

@ -77,7 +77,7 @@ log "${@}"
install-fzf() {
local install_path="${1}/fzf"
if ! [[ -e "${install_path}" ]] || ! [[ -e "${HOME}/.config/fzf/fzf.zsh" ]]; then
if ! [[ -e "${install_path}" ]]; then
git clone --depth 1 https://github.com/junegunn/fzf.git "${install_path}"
fi
if ! [[ -e "${HOME}/.config/fzf/fzf.zsh" ]]; then