move gopath to .path to activate on non-interactive shells

This commit is contained in:
Frieder Schlesier 2018-11-23 18:15:07 +01:00
parent 0e77a8ed88
commit ba4d5c2542
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,3 @@ if ! shopt -oq posix; then
. /etc/bash_completion . /etc/bash_completion
fi fi
fi fi
export GOROOT=/usr/local/go
export GOPATH=/home/fschl/projects/go-projects
export PATH=${PATH}:${GOROOT}/bin:${GOPATH}/bin

4
.path Normal file
View File

@ -0,0 +1,4 @@
#export GOROOT=/usr/local/go/bin
export GOPATH=/home/fschl/projects/go_projects
export PATH=${PATH}:/usr/local/go/bin:${GOPATH}/bin