-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bash_profile
More file actions
executable file
·37 lines (31 loc) · 1.08 KB
/
.bash_profile
File metadata and controls
executable file
·37 lines (31 loc) · 1.08 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
# Get the aliases and function
if [ -f ~/.bashrc ]; then
.~/.bashrc
fi
# Load profile if exists
if [ -f ~/.profile ]; then
.~/.profile
fi
# Set architecture flags
export ARCHFLAGS="-arch x86_64"
# Ensure user-installed binaries take precedence
export PATH=/usr/local/bin:$PATH
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
JAVA_HOME=$(/usr/libexec/java_home)
alias fix_brew='sudo chown -R $USER /usr/local/'
# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
# Fastboot
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
# Setting PATH for Python 2.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/Users/bshellnu/.sdkman"
[[ -s "/Users/bshellnu/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/bshellnu/.sdkman/bin/sdkman-init.sh"