|
|
|
@ -44,8 +44,8 @@ if [[ ! -d $HOME/projects ]]; then
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [[ -x go ]]; then |
|
|
|
|
echo "Making $HOME/projects/go" |
|
|
|
|
mkdir -p $HOME/projects/go |
|
|
|
|
echo "Making $HOME/.go" |
|
|
|
|
mkdir -p $HOME/.go |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -132,7 +132,7 @@ export HISTCONTROL=ignoredups
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If go is installed, set the $GOPATH to the projects directory created above. |
|
|
|
|
if which go > /dev/null; then export GOPATH=$HOME/projects/go; fi |
|
|
|
|
if which go > /dev/null; then export GOPATH=$HOME/.go; fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ------------ END EXPORTS ------------# |
|
|
|
|