Use fzf if installed on the system

This commit is contained in:
nemunaire 2026-01-24 09:26:59 +08:00
commit d226434f42

View file

@ -99,4 +99,8 @@ if [ -f ~/.mybashrc ]; then
. ~/.mybashrc
fi
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
if which fzf > /dev/null; then
eval "$(fzf --bash)"
elif [ -f ~/.fzf.bash ]; then
source ~/.fzf.bash
fi