Move all shared into this new repo

This commit is contained in:
2020-04-02 15:48:20 -06:00
parent 27307f26f2
commit 66fd90a649
465 changed files with 61143 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Pyenv location
pyenv=/usr/local/lib/pyenv
export PYENV_ROOT=$pyenv
# Makes pipenv obey global or local pyenv!
PIPENV_PYTHON=$pyenv/shims/python
PATH="$PYENV_ROOT/bin:$PATH"
# Python penv, must be AFTER $PATH is set as it changes it
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# Python aliases
alias pv='echo "Version:" && python --version && echo && echo "Interpreter Path:" && python -c "import sys;print(sys.prefix)" && echo && echo "Paths:" && python -c "import sys;print(sys.path);"'
alias activate='source env/bin/activate && pv'
alias pips='pipenv shell && echo "pipenv shell has been deactivated" && echo && pv'