-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
52 lines (47 loc) · 2.16 KB
/
bash_profile
File metadata and controls
52 lines (47 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# eval $(register-python-argcomplete ansible)
# eval $(register-python-argcomplete ansible-config)
# eval $(register-python-argcomplete ansible-console)
# eval $(register-python-argcomplete ansible-doc)
# eval $(register-python-argcomplete ansible-galaxy)
# eval $(register-python-argcomplete ansible-inventory)
# eval $(register-python-argcomplete ansible-playbook)
# eval $(register-python-argcomplete ansible-pull)
# eval $(register-python-argcomplete ansible-vault)
export BASH_SILENCE_DEPRECATION_WARNING=1
export GITAWAREPROMPT=~/.bash/git-aware-prompt
export PYTHONPATH=/usr/bin/python
export PYTHONDONTWRITEBYTECODE=1
source "${GITAWAREPROMPT}/main.sh"
#### NOT SURE IF WORKS:
export GIT_PS1_SHOWCOLORHINTS=true
export GIT_PS1_SHOWDIRTYSTATE=true
export GREP_OPTIONS='--color=auto'
export CLICOLOR=1
export LSCOLORS=Exfxcxdxbxegedabagacad
#####
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/test_developers
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
export VIRTUALENVWRAPPER_PYTHON=$(which python3)
# trying to set up a new environment with a different python version?
# https://stackoverflow.com/questions/53372272/python-venv-virual-environment-uses-wrong-version-of-python/53372559#53372559
# tldr: pyenv global 3.6.0 (or whatever), pip3 install virtualenvwrapper, mkvirtualenv --python=3.6.0 wifi
# NOTE! 3.6 MUST BE SET IN GLOBAL. You can set global back to system and local to 3.6 after running mkvirtualenv
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
source /usr/local/bin/virtualenvwrapper_lazy.sh
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export TERM=xterm-256color
# export HOMEBREW_NO_AUTO_UPDATE=1
eval "$(pyenv init --path)"
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# export HOMEBREW_NO_AUTO_UPDATE=1
# export PS1="\u@\h \W \[\$txtcyn\]\$git_branch\[\$txtred\]\$git_dirty\[\$txtrst\]\$ "
# gonna regret this later, I'm sure
export PATH=/usr/local/Cellar/postgresql@13/13.7/bin/:$PATH
eval "$(thefuck --alias)"
source ~/.bashrc