1. Bryan Head
  2. dotfiles


Bryan Head  committed 163fc33

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

  • Participants
  • Parent commits dd2d817
  • Branches default

Comments (0)

Files changed (2)

File .hgsubstate

View file
  • Ignore whitespace
-cda2b2853f59b10a317663941f41a24b1cbaa05c vim
+c227737adb5ae6ce54943ac2cd1fa11e4c44c466 vim

File bashrc

View file
  • Ignore whitespace
 # 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;
 export PS1="$(tput bold)$(tput setaf 5)\u@\h:$(tput setaf 6)\w\n\
 \[$(tput setaf 2)\]$ \[$(tput sgr0)\]"