From 6e3a1ac40b4de1c662305f4393009ca811e65284 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:43 +0100 Subject: [PATCH] fix grc sourcing --- aliases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aliases.sh b/aliases.sh index a35b16a..98c01cf 100755 --- a/aliases.sh +++ b/aliases.sh @@ -71,7 +71,7 @@ alias ssh1="ssh -o ControlMaster=no" # grc: try to source the definitions file in /etc/grc.zsh (print a warning if it does not exist) -if [[ -f /etc/grc.zsh ]]; then +if [[ ! -f /etc/grc.zsh ]]; then echo "Could not find /etc/grc.zsh, command colorization will not work. Check your grc configuration" 1>&2 else source /etc/grc.zsh