From e97feb443a70b331eafc7d6adccc4e005a91e16c Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Fri, 29 Apr 2022 08:31:09 +0100 Subject: [PATCH] fix(bash/go): add mage bash config --- config/bash/bashrc.d/go | 6 ++++++ 1 file changed, 6 insertions(+) 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