fix(bash/go): add mage bash config

This commit is contained in:
Dan Anglin 2022-04-29 08:31:09 +01:00
parent d31765265b
commit e97feb443a
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -19,3 +19,9 @@ if [ -f "${HOME}/.local/software/go/bin/go" ]; then
export GOARCH=amd64 export GOARCH=amd64
export CGO_ENABLED=0 export CGO_ENABLED=0
fi fi
# Magefile stuff
if [ -x "$( command -v mage )" ]; then
export MAGEFILE_CACHE=${XDG_CACHE_HOME}/magefile
export MAGEFILE_ENABLE_COLOR=true
fi