diff options
Diffstat (limited to 'profile.dot.link')
-rw-r--r-- | profile.dot.link | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link index ac01476..3d989d3 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -75,6 +75,20 @@ if [ -d "$HOME/.composer/vendor/bin" ]; then PATH="$HOME/.composer/vendor/bin:$PATH" fi +# Add Go into PATH +if [ -e "/usr/lib/go" ]; then + export GOROOT="/usr/lib/go" + + PATH=$PATH:$GOROOT/bin +fi + +# Add local Go into PATH +if [ -e "$HOME/apps/go" ]; then + export GOPATH="$HOME/apps/go" + + PATH=$PATH:$GOPATH/bin +fi + # Export PATH export PATH=$PATH |