From 8192a212c099837cd35246a09b933c6bf4d63c74 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 30 May 2023 14:04:28 -0600 Subject: add go specific cleanup --- .config/shell/profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf