chore: correct setting for fzf on brew

This commit is contained in:
Tri Vo Khac committed 2023-05-04 00:33:53 +07:00
1 parent 52ee25395c
commit d71070167f
1 file changed
+5 -1
+5 -1
View File
@@ -53,7 +53,11 @@ repos=(
plugin-load $repos
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
if [ -f ~/.fzf.zsh ]; then
source ~/.fzf.zsh
elif [ -x `command -v brew` ]; then
$(brew --prefix)/opt/fzf/install --no-bash --key-bindings --completion --no-update-rc 1> /dev/null
fi
# Clean startup prompt
! [ -f ~/.hushlogin ] && touch ~/.hushlogin