From de582afa1df04abfe6100fdeb2c5f75da524a9df Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 26 Jun 2019 21:21:52 +0200 Subject: [PATCH] Reword instructions for fuzzy finding programs Uses the full name of fuzzy finders instead of just their abbreviations when warning about any of them missing, to make it clearer which programs the warning is talking about. --- .config/shell/rc.d/fuzzy-finding.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/shell/rc.d/fuzzy-finding.sh b/.config/shell/rc.d/fuzzy-finding.sh index 1b8bc2b..e8fbebd 100644 --- a/.config/shell/rc.d/fuzzy-finding.sh +++ b/.config/shell/rc.d/fuzzy-finding.sh @@ -5,13 +5,13 @@ if type sk >/dev/null 2>&1; then alias fzf=sk elif type fzy >/dev/null 2>&1; then - echo "[WARNING]: fzy found as fuzzy finder - install sk to use full script functionality" + echo "[WARNING]: fzy found as fuzzy finder - install skim to use full script functionality" alias fzf=fzy elif type fzf >/dev/null 2>&1; then - echo "[WARNING]: fzf found as fuzzy finder - install sk to use full script functionality" + echo "[WARNING]: fzf found as fuzzy finder - install skim to use full script functionality" alias fzf=fzf else - echo "[WARNING]: No fuzzy finder found - install sk to enable functionality" + echo "[WARNING]: No fuzzy finder found - install skim to enable functionality" fi # check for existence of greplikes. If found, substitute fzf with it. @@ -23,7 +23,7 @@ elif type ag >/dev/null 2>&1; then elif type ack >/dev/null 2>&1; then alias rg=ack else - echo "[WARNING]: No grep-like found - install rg/ag/ack to enable functionality" + echo "[WARNING]: No grep-like found - install ripgrep/the silver surfer (ag)/ack to enable functionality" fi # set up fuzzy file and directory search