« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 6 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