From 13ead294ea2252ccf86212311f95a3aaa13ef923 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:48 +0100 Subject: [PATCH] fix grc configuration --- aliases.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aliases.sh b/aliases.sh index f35c97b..d013cc2 100755 --- a/aliases.sh +++ b/aliases.sh @@ -71,12 +71,12 @@ alias git_sort_branches_by_date="git for-each-ref --sort=committerdate refs/head # 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 source /etc/grc.zsh -elif [[ -f /usr/local/etc/grc.zsh ]] +elif [[ -f /usr/local/etc/grc.zsh ]] ; then source /usr/local/etc/grc.zsh else - echo "Could not find /etc/grc.zsh, command colorization will not work. Check your grc configuration" 1>&2 + echo "Could not grc completion file (checked /etc/grc.zsh and /usr/local/etc/grc.zsh. Command colorization will not work. Check your grc configuration (is grc installed?)" 1>&2 fi # dotfiles user aliases