-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
53 lines (39 loc) · 1.25 KB
/
.bashrc
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
53
export PATH=$PATH:/Users/mcreaser/bin
export PATH=/usr/local/bin:$PATH
export PATH=/user/local/opt/ruby/bin:$PATH
export PATH=./node_modules/.bin:$PATH
export PATH=$PATH:/usr/local/Cellar/rabbitmq/3.0.4/sbin/
export PATH=~/apache-ant-1.9.4/bin:$PATH
export MAVEN_REPOSITORY=~/code/maven-artifacts
export CDPATH=.:~/code
function _update_ps1() {
export PS1="$(~/powerline-shell.py $? 2> /dev/null)"
}
export PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
# Enable color support of ls
if [ `uname` == 'Darwin' ]; then
export CLICOLOR=1
if [ -x /usr/local/bin/gls ]; then
# brew install coreutils to get gls
alias ls='/usr/local/bin/gls --color=auto'
fi
else
alias ls='ls --color=auto'
fi
# Alias definitions are in a separate file.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
. ~/.bash_git_cmd
. ~/.bash_private
# Add homebrew path for python
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
### Allow more open files for those huge npm installs
ulimit -n 1024
# Vagrant needs to know where the repositories live
export REPOS_HOME=~/code
# Location of the Android SDK
export ANDROID_HOME=~/android/sdk
source ~/.nvm/nvm.sh