You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
if [[ -f ~/.bashrc ]]; then
|
|
|
|
source ~/.bashrc
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
|
|
# Enable homebrew openssl support
|
|
|
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
|
|
|
|
export PATH="/usr/local/opt/openjdk/bin:$PATH"
|
|
|
|
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
|
|
|
export PATH="/usr/local/opt/qt/bin:$PATH"
|
|
|
|
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if hash pyenv 2>/dev/null; then
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
|
|
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|
|
|
eval "$(pyenv init -)"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Local bin
|
|
|
|
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
|
|
|
|
|
|
|
test -r /home/vm/.opam/opam-init/init.sh && . /home/vm/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
|
|
|
. "$HOME/.cargo/env"
|