From fe77dd2ec30e2f7957ffe42ba5b20f46f03b71fe Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 31 Jul 2022 02:40:58 -0500 Subject: [PATCH] fix: do not use echo_rgb --- .config/zsh/config/profile/profile/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/config/profile/profile/functions.zsh b/.config/zsh/config/profile/profile/functions.zsh index bfcca5b..5cb2833 100644 --- a/.config/zsh/config/profile/profile/functions.zsh +++ b/.config/zsh/config/profile/profile/functions.zsh @@ -30,7 +30,7 @@ wgrep() { # This crazy shit handles egde cases of files having colons (:) in them selection=$(rev <<< $selection | cut -d ':' -f 3- | rev) if [[ -n "${selection}" ]]; then - [[ -r "${selection}" ]] && "${EDITOR}" "${selection}" || echo_rgb "Cannot open ${selection}" 255 0 0 80 0 0 + [[ -r "${selection}" ]] && "${EDITOR}" "${selection}" || printf "Cannot open %s\n" "${selection}" fi }