|
|
@ -70,7 +70,6 @@ weather() { |
|
|
|
|
|
|
|
|
|
|
|
# ------------------ END FUNCTIONS ------------------ # |
|
|
|
# ------------------ END FUNCTIONS ------------------ # |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------- ALIASES ----------------# |
|
|
|
# ---------------- ALIASES ----------------# |
|
|
|
|
|
|
|
|
|
|
|
# Useful global functions |
|
|
|
# Useful global functions |
|
|
@ -141,6 +140,14 @@ if which go > /dev/null; then export GOPATH=$HOME/projects/go; fi |
|
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------- INITIALIZATIONS -------------------------------------- # |
|
|
|
# ----------------------------------------- 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 |
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
|
|
eval "$(pyenv init -)" |
|
|
|
eval "$(pyenv init -)" |
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|