when exporting gopath - export $USER instead of hardcoded user

This commit is contained in:
Viktor Barzin 2023-05-10 12:18:57 +00:00
parent 409473e6bd
commit 0598930d5e

2
.zshrc
View file

@ -147,7 +147,7 @@ bindkey '^x^e' edit-command-line
# add GO to path
export PATH="/home/viktor/go/bin:$PATH"
#export GO111MODULE=on
export GOPATH="/home/viktor/go"
export GOPATH="/home/$USER/go"
# add JDK 12 go path
export PATH="/opt/jdk-12.0.1/bin:$PATH"