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 a6f02974ae
commit 7d2785a280
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

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"