From 7d2785a28005c0cfc69a4a643c29133ffa8f66de Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Wed, 10 May 2023 12:18:57 +0000 Subject: [PATCH] when exporting gopath - export $USER instead of hardcoded user --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 097774d..7115e14 100644 --- a/.zshrc +++ b/.zshrc @@ -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"