Set GOMODCACHE to comply with XDG (#1299)
If GOMODCACHE is not set, it defaults to $GOPATH/pkg/mod cf. https://go.dev/ref/mod#environment-variables
This commit is contained in:
parent
a94ee62680
commit
5c92a1770f
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
|||
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME/android"
|
||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
||||
export ANSIBLE_CONFIG="$XDG_CONFIG_HOME/ansible/ansible.cfg"
|
||||
export UNISON="$XDG_DATA_HOME/unison"
|
||||
export HISTFILE="$XDG_DATA_HOME/history"
|
||||
|
|
Loading…
Reference in a new issue