-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
36 lines (33 loc) · 1.27 KB
/
.bash_profile
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
# Export bash_profile configs
export BASH_CONF="bash_profile"
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
export PATH
# use control-t to open new terminal tab from working director
bind '"\C-t":"open . -a iterm \x0a clear \x0a"'
# use .bash_aliases file to load aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# use .bash_completions file to load tab-completes for specific commands
if [ -f ~/.bash_completions ]; then
. ~/.bash_completions
fi
# change color for grep highlighting
export GREP_COLOR='1;39'
# use bash-completion with homebrew
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi