diff options
| author | Miquel Sabaté <msabate@suse.com> | 2015-07-23 17:26:42 +0200 |
|---|---|---|
| committer | Miquel Sabaté <msabate@suse.com> | 2015-07-23 17:26:42 +0200 |
| commit | bff13202973ec7161578f5644d5485aef2199119 (patch) | |
| tree | 0e17ff053f14b6ffddf7f9c268f7ff96f6dc3877 | |
| parent | 0a27043fb6de687faaccb5578976883593d6d18f (diff) | |
| download | dotfiles-bff13202973ec7161578f5644d5485aef2199119.tar.gz dotfiles-bff13202973ec7161578f5644d5485aef2199119.zip | |
bash: fixed the PATH variable for Go programs
This happenned once I got Docker installed from both openSUSE and the master
branch. So, as of now, for Go applications the lookup will be:
1. $GOROOT: for the compiler.
2. $PATH: for programs like docker, in which I prefer to use them from stable
repos.
3. $GOPATH: the rest.
| -rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ export CXX=/usr/bin/clang++ export GOROOT_BOOTSTRAP=/opt/go1.4 export GOROOT=$HOME/Projects/go export GOPATH=$HOME/Projects/golang -export PATH=$HOME/Projects/golang/bin:$HOME/Projects/go/bin:$PATH +export PATH=$GOROOT/bin:$PATH:$GOPATH/bin # The Review utility. See: https://github.com/mssola/review export PATH=/opt/review:$PATH |
