summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/shell/profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index f3ab4ca..5a543ad 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -19,6 +19,9 @@ export GOPATH="$XDG_DATA_HOME/go"
export LESSHISTFILE="-"
export HISTFILE="$XDG_STATE_HOME/bash/history"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
+ # Golang specific
+export GOPATH="$XDG_DATA_HOME/go"
+export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
# less
export LESS=-R
if command -v source-highlight &> /dev/null; then
@@ -55,4 +58,4 @@ if [ -n "$BASH_VERSION" ]; then
if [ -f "$HOME/.bashrc" ]; then
source "$HOME/.bashrc"
fi
-fi \ No newline at end of file
+fi