fix: fzf install check for fzf.zsh
This commit is contained in:
parent
7a099ae010
commit
c6435f0855
@ -77,7 +77,7 @@ log "${@}"
|
|||||||
|
|
||||||
install-fzf() {
|
install-fzf() {
|
||||||
local install_path="${1}/fzf"
|
local install_path="${1}/fzf"
|
||||||
if ! [[ -e "${install_path}" ]]; 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}"
|
||||||
"${install_path}/install" \
|
"${install_path}/install" \
|
||||||
--key-bindings \
|
--key-bindings \
|
||||||
|
Loading…
Reference in New Issue
Block a user