forked from lvv/git-prompt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbash_profile_for_mac
36 lines (29 loc) · 927 Bytes
/
bash_profile_for_mac
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
# .bash_profile
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export PATH=/usr/local/mysql/bin:$PATH
export PATH=~/.gem/ruby/1.8/bin:$PATH
export PATH=~/space/bin:$PATH
export PATH=~/space/usr/bin:$PATH
export CLICOLOR=1
export LSCOLORS=exgxCxDxcxegedabagacad
#export TERM_APP=terminal
function pushd_silent {
pushd "$1" > /dev/null
}
function popd_silent {
popd "$1" > /dev/null
}
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi
#alias cd='pushd_silent'
#alias pd='popd_silent'
alias sd='dirs -v'
alias crontab="VIM_CRONTAB=true crontab"
alias redis_start='sudo launchctl start io.redis.redis-server'
alias redis_stop='sudo launchctl stop io.redis.redis-server'
. ~/space/git/git/contrib/completion/git-completion.bash
. ~/space/git/git-prompt/git-prompt.sh
. ~/space/git/me2day/script/dev/bash_helper/instant_helper.sh
cd space