add Golang path

This commit is contained in:
Hactarus 2017-01-16 10:53:01 +01:00
parent 1c2ddd8c5b
commit a7bb032286
2 changed files with 6 additions and 0 deletions

3
.bash_export Normal file
View file

@ -0,0 +1,3 @@
export GOROOT=$HOME/go
export GOPATH=$GOROOT/bin
export PATH=$PATH:$GOROOT/bin

View file

@ -15,3 +15,6 @@ fi
if [ -f ~/.bash_ps ]; then
. ~/.bash_ps
fi
if [ -f ~/.bash_export ]; then
. ~/.bash_export
fi