GOPATH after
This commit is contained in:
parent
b347504d13
commit
94c57824ef
|
@ -1,13 +1,6 @@
|
|||
# The path
|
||||
export PATH=$PATH/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/opt/android-ndk:/opt/android-sdk/tools/:/opt/android-sdk/build-tools/24.0.0/:/usr/lib/emscripten:$HOME/.script/check:$HOME/.gem/ruby/2.3.0/bin:$HOME/.scripts:$HOME/.more-scripts/stop/:$HOME/.more-scripts/
|
||||
|
||||
# for go
|
||||
if [ -d /opt/go/bin ]; then
|
||||
export GOROOT=/opt/go
|
||||
export GOPATH=$HOME/srcs/go
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
fi
|
||||
|
||||
# My editor
|
||||
export EDITOR="vim"
|
||||
|
||||
|
@ -25,3 +18,12 @@ export GOPATH="$HOME/.config/go"
|
|||
export CC="clang"
|
||||
export CXX="clang++"
|
||||
export WINEDEBUG=-all
|
||||
|
||||
# for go
|
||||
if [ -d /opt/go/bin ]; then
|
||||
export GOROOT=/opt/go
|
||||
export GOPATH=$HOME/srcs/go
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue