|
|
|
@ -27,11 +27,11 @@ export PATH="/usr/local/opt/openjdk/bin:$PATH"
|
|
|
|
|
export HISTCONTROL=ignoredups |
|
|
|
|
|
|
|
|
|
# If go is installed, set the $GOPATH to the projects directory created above. |
|
|
|
|
if which go > /dev/null; then |
|
|
|
|
if which go > /dev/null; then |
|
|
|
|
export GOPATH=$HOME/.go |
|
|
|
|
export PATH=${PATH}:`go env GOPATH`/bin |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d "$HOME/.rvm" ]; then |
|
|
|
|
export PATH="$PATH:$HOME/.rvm/bin" |
|
|
|
|
fi |
|
|
|
@ -40,6 +40,12 @@ if [ -f "$HOME/.cargo/env" ]; then
|
|
|
|
|
. "$HOME/.cargo/env" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then |
|
|
|
|
# If the Go install guide was followed for Linux |
|
|
|
|
# /usr/local/go will contain the go binary. |
|
|
|
|
export PATH=$PATH:/usr/local/go/bin |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then |
|
|
|
|
# Enable homebrew openssl support |
|
|
|
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ |
|
|
|
|