summaryrefslogtreecommitdiff
path: root/config/shell
diff options
context:
space:
mode:
Diffstat (limited to 'config/shell')
-rw-r--r--config/shell/profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/shell/profile b/config/shell/profile
index f561eee..8d3ef21 100644
--- a/config/shell/profile
+++ b/config/shell/profile
@@ -18,6 +18,12 @@ export BASHRC="${HOME}/.bashrc"
export ZSHRC="${HOME}/.zshrc"
export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
+export GOPATH="$XDG_DATA_HOME/go"
+export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
+export GOCACHE="$XDG_CACHE_HOME/go/build"
+
+export PATH="$PATH:$GOPATH/bin"
+
mkdir -p "${XDG_BIN_DIR}"
export PATH="${XDG_BIN_DIR}:${PATH}"