-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_profile
59 lines (45 loc) · 1.38 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
PS1='\u@\h \w$(GIT_PS1_SHOWDIRTYSTATE=1 __git_ps1)\$ '
#Config
#------------------------------------------------------------
if [ -f ~/.system/config.sh ]; then
. ~/.system/config.sh
fi
export LIBMEMCACHED=/usr/local/Cellar/libmemcached/1.0.8
#Virtualenv
#------------------------------------------------------------
export WORKON_HOME=$HOME/.virtualenvs
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
source /usr/local/bin/virtualenvwrapper.sh
fi
if [ -f /usr/local/share/python/virtualenvwrapper.sh ]; then
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7
source /usr/local/share/python/virtualenvwrapper.sh
fi
#Aliases
#------------------------------------------------------------
if [ -f ~/.system/aliases.sh ]; then
. ~/.system/aliases.sh
fi
if [ -f ~/.git-scm/aliases.sh ]; then
. ~/.git-scm/aliases.sh
fi
if [ -f ~/.mysql/aliases.sh ]; then
. ~/.mysql/aliases.sh
fi
if [ -f ~/.projects/simpsons/aliases.sh ]; then
. ~/.projects/simpsons/aliases.sh
fi
if [ -f ~/.aws/aliases.sh ]; then
. ~/.aws/aliases.sh
fi
#Auto Complete
#------------------------------------------------------------
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
if [ -f ~/.git-scm/git-prompt.sh ]; then
source ~/.git-scm/git-prompt.sh
fi
if [ -f ~/.git-scm/git-completion.bash ]; then
source ~/.git-scm/git-completion.bash
fi