summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-30 14:04:28 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-30 14:04:28 -0600
commit8192a212c099837cd35246a09b933c6bf4d63c74 (patch)
tree1cb1d2a901991e56a01bb656d73178f1417bdf7b
parent1423eda13fe084f052d1b151f5fc2855fc3886d6 (diff)
add go specific cleanup
-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