1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

fix grc configuration

This commit is contained in:
bretello 2020-02-14 16:37:48 +01:00
parent e9da760def
commit 13ead294ea

View File

@ -73,10 +73,10 @@ 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) # 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 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 source /usr/local/etc/grc.zsh
else 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 fi
# dotfiles user aliases # dotfiles user aliases