fix: check for fzf.zsh separately
This commit is contained in:
parent
c6435f0855
commit
4d9360cc97
@ -79,6 +79,8 @@ install-fzf() {
|
|||||||
local install_path="${1}/fzf"
|
local install_path="${1}/fzf"
|
||||||
if ! [[ -e "${install_path}" ]] || ! [[ -e "${HOME}/.config/fzf/fzf.zsh" ]]; then
|
if ! [[ -e "${install_path}" ]] || ! [[ -e "${HOME}/.config/fzf/fzf.zsh" ]]; then
|
||||||
git clone --depth 1 https://github.com/junegunn/fzf.git "${install_path}"
|
git clone --depth 1 https://github.com/junegunn/fzf.git "${install_path}"
|
||||||
|
fi
|
||||||
|
if ! [[ -e "${HOME}/.config/fzf/fzf.zsh" ]]; then
|
||||||
"${install_path}/install" \
|
"${install_path}/install" \
|
||||||
--key-bindings \
|
--key-bindings \
|
||||||
--completion \
|
--completion \
|
||||||
|
Loading…
Reference in New Issue
Block a user