Commits

Bryan Head committed 163fc33

Added go bin path if /usr/lib/go is set.

Comments (0)

Files changed (2)

-cda2b2853f59b10a317663941f41a24b1cbaa05c vim
+c227737adb5ae6ce54943ac2cd1fa11e4c44c466 vim
 # source ~/dotfiles/bashrc
 # to your .bashrc file to use
 
-# All things go
-export PATH=$PATH:/usr/local/go/bin
-
+if [ -n $GOROOT ] ; then
+	export PATH=$PATH:$GOROOT/bin;
+fi
 #txtpur="\e[0;35m"
 export PS1="$(tput bold)$(tput setaf 5)\u@\h:$(tput setaf 6)\w\n\
 \[$(tput setaf 2)\]$ \[$(tput sgr0)\]"