diff --git a/config/bash/bashrc.d/go b/config/bash/bashrc.d/go index c356a46..d653b53 100644 --- a/config/bash/bashrc.d/go +++ b/config/bash/bashrc.d/go @@ -19,3 +19,9 @@ if [ -f "${HOME}/.local/software/go/bin/go" ]; then export GOARCH=amd64 export CGO_ENABLED=0 fi + +# Magefile stuff +if [ -x "$( command -v mage )" ]; then + export MAGEFILE_CACHE=${XDG_CACHE_HOME}/magefile + export MAGEFILE_ENABLE_COLOR=true +fi