1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 12:31:31 +01:00

fix grc sourcing

This commit is contained in:
bretello 2020-02-14 16:37:43 +01:00
parent 93df72ef16
commit 6e3a1ac40b

View File

@ -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) # 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 echo "Could not find /etc/grc.zsh, command colorization will not work. Check your grc configuration" 1>&2
else else
source /etc/grc.zsh source /etc/grc.zsh