forked from czottmann/homedir
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.bash_profile-Darwin
29 lines (23 loc) · 942 Bytes
/
.bash_profile-Darwin
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
# Stuff that only needs to run on my OS X machines.
#
#
# Set my editor and git editor
export EDITOR="/usr/bin/env subl"
export GIT_EDITOR='/usr/bin/env vim'
# Add bash completion for homebrew installed packages
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# LÖVE shortcuts
alias love=/Applications/love.app/Contents/MacOS/love
alias l="love ."
# Hook up Postgresql.app executables
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
# Set up Android development
export ANDROID_HOME=~/Library/Android/sdk/
export ANDROID_NDK=~/src/android-ndk-r10e/
export PATH=~/src/android-ndk-r10e:~/Library/Android/sdk/tools:~/Library/Android/sdk/platform-tools:$PATH
export PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin:$PATH
# Initialize chruby
source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh