diff options
-rw-r--r-- | .zshrc | 6 | ||||
-rw-r--r-- | device/device_template_pre | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc index 1de48ad..3c92d3b 100644 --- a/.zshrc +++ b/.zshrc @@ -55,6 +55,12 @@ path+=("$HOME/bin") # //// third party configuration ////////////////////////////// <3rd-conf> // # +# -- Go -- + +if [[ -v DEVICE_HAS_GO ]]; then + export GOPATH=$DEVICE_GO_INSTALLATION +fi + # -- GPG -- if [[ -v DEVICE_HAS_GPG ]]; then diff --git a/device/device_template_pre b/device/device_template_pre index 470c210..480c89c 100644 --- a/device/device_template_pre +++ b/device/device_template_pre @@ -52,6 +52,9 @@ export DEVICE_HAS_GPG +export DEVICE_HAS_GO +export DEVICE_GO_INSTALLATION="$HOME/go" + export DEVICE_HAS_HOMEBREW export DEVICE_HOMEBREW_INSTALLATION="/opt/homebrew" |