Remove warning when skim is not installed

Switched to fzf a while back, skim is not needed on installations
anymore.
This commit is contained in:
Marty Oehme 2019-11-21 12:13:31 +01:00
parent 0c7a9ca7f5
commit 131e8e212a

View file

@ -5,13 +5,11 @@
if type sk >/dev/null 2>&1; then if type sk >/dev/null 2>&1; then
alias fzf=sk alias fzf=sk
elif type fzy >/dev/null 2>&1; then elif type fzy >/dev/null 2>&1; then
echo "[WARNING]: fzy found as fuzzy finder - install skim to use full script functionality"
alias fzf=fzy alias fzf=fzy
elif type fzf >/dev/null 2>&1; then elif type fzf >/dev/null 2>&1; then
echo "[WARNING]: fzf found as fuzzy finder - install skim to use full script functionality"
alias fzf=fzf alias fzf=fzf
else else
echo "[WARNING]: No fuzzy finder found - install skim to enable functionality" echo "[WARNING]: No fuzzy finder found - install skim/fzf/fzy to enable functionality"
fi fi
# check for existence of greplikes. If found, substitute fzf with it. # check for existence of greplikes. If found, substitute fzf with it.