From c8e8a1f31c7361797a3d02517eb98e53a8e954b0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Jul 2022 19:51:15 -0500 Subject: [PATCH] refactor: do not autoinstall fzf --- .config/zsh/config/profile/profile/env.zsh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/zsh/config/profile/profile/env.zsh b/.config/zsh/config/profile/profile/env.zsh index a73d483..569f698 100644 --- a/.config/zsh/config/profile/profile/env.zsh +++ b/.config/zsh/config/profile/profile/env.zsh @@ -9,13 +9,7 @@ export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2 export ZSH_AUTOSUGGEST_STRATEGY=(history completion) ### FZF ### -if ! [[ -r "${HOME}/.fzf" ]]; then - printf "Installing FZF\n" >&2 - git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf - ~/.fzf/install --key-bindings --completion --no-update-rc -else - [[ -f "${HOME}/.fzf.zsh" ]] && source "${HOME}/.fzf.zsh" -fi +[[ -f "${HOME}/.fzf.zsh" ]] && source "${HOME}/.fzf.zsh" export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always' export FZF_DEFAULT_OPTS="--height=80% --layout=reverse --info=inline --border --margin=1 --ansi" export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"