added fzf manual install support

This commit is contained in:
Gabe Venberg 2023-05-17 08:55:38 -05:00
parent 581b9d62f8
commit a97e2b6e7a

View file

@ -175,3 +175,6 @@
#zsh completions, if it exists. #zsh completions, if it exists.
testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null) testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
[ -f "$testPath" ] && source $testPath [ -f "$testPath" ] && source $testPath
#if it was installed using git, can just source the one file:
testPath="$HOME/.fzf.zsh"
[ -f "$testPath" ] && source $testPath