« get me outta code hell

zsh, template: go - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-20 10:15:41 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-20 10:24:22 -0400
commit095e7cfb90b358a4ffde5b94a87994df23cc43ad (patch)
tree9644827f2a2b3e1668583a463593805c39961106 /.zshrc
parente418f4bfe41bd178e8dd7849c58a238031144a05 (diff)
zsh, template: go
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