|
|
@ -40,6 +40,12 @@ if [ -f "$HOME/.cargo/env" ]; then |
|
|
|
. "$HOME/.cargo/env" |
|
|
|
. "$HOME/.cargo/env" |
|
|
|
fi |
|
|
|
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 |
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then |
|
|
|
# Enable homebrew openssl support |
|
|
|
# Enable homebrew openssl support |
|
|
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ |
|
|
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ |
|
|
|