add Golang path
This commit is contained in:
parent
1c2ddd8c5b
commit
a7bb032286
2 changed files with 6 additions and 0 deletions
3
.bash_export
Normal file
3
.bash_export
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export GOROOT=$HOME/go
|
||||||
|
export GOPATH=$GOROOT/bin
|
||||||
|
export PATH=$PATH:$GOROOT/bin
|
3
.bashrc
3
.bashrc
|
@ -15,3 +15,6 @@ fi
|
||||||
if [ -f ~/.bash_ps ]; then
|
if [ -f ~/.bash_ps ]; then
|
||||||
. ~/.bash_ps
|
. ~/.bash_ps
|
||||||
fi
|
fi
|
||||||
|
if [ -f ~/.bash_export ]; then
|
||||||
|
. ~/.bash_export
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue