|
|
|
@ -70,7 +70,6 @@ weather() {
|
|
|
|
|
|
|
|
|
|
# ------------------ END FUNCTIONS ------------------ # |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------- ALIASES ----------------# |
|
|
|
|
|
|
|
|
|
# Useful global functions |
|
|
|
@ -141,6 +140,14 @@ if which go > /dev/null; then export GOPATH=$HOME/projects/go; fi
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------- INITIALIZATIONS -------------------------------------- # |
|
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then |
|
|
|
|
export PATH="$HOME/.pyenv/bin:$PATH" |
|
|
|
|
|
|
|
|
|
# For whatever reason the linux version of pyenv doesnt install `pyenv-virtualenv-init`. |
|
|
|
|
eval "$(pyenv init -)" |
|
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
|
|
|
eval "$(pyenv init -)" |
|
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
|