don't let golang dump stuff into $HOME
This commit is contained in:
parent
8c5e452209
commit
c3b123067c
1 changed files with 5 additions and 0 deletions
5
env.sh
5
env.sh
|
@ -1,4 +1,9 @@
|
|||
whence -p nvim > /dev/null && export EDITOR=nvim || true
|
||||
|
||||
# don't let golang dump stuff into $HOME
|
||||
export GOMODCACHE="$HOME/.cache/go-mod"
|
||||
export GOPATH="$HOME/.go"
|
||||
export PATH="$PATH:$HOME/.go/bin"
|
||||
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
export PATH="$PATH:$HOME/.nimble/bin"
|
||||
|
|
Loading…
Reference in a new issue