オレオレbash_profile
export PATH=$HOME/.rbenv/bin:$PATH eval "$(rbenv init -)" function pgs(){ postgres -D /usr/local/var/postgres } function master(){ git push origin master } function pd(){ git pull origin develop } function gpd(){ git pull origin develop } function hard(){ git reset --hard HEAD } function chfb(){ git checkout -f -b $1 $2 } function ch(){ git checkout $1 } function me(){ git merge $1 } function bra(){ git branch -a } function br(){ git branch } function vv(){ git branch -vv } function newch(){ git checkout -b $1 } function difff(){ git diff --name-only } function pmaster(){ git add . -A git commit -m "commmon commit" git push origin master } function pdevelop(){ git add . -A git commit -m "commmon commit" git push origin develop } function mampdb() { cd "/Applications/MAMP/Library/bin/" ./mysql -u root -p } function mamp(){ cd "/Applications/MAMP/htdocs" } function mk(){ vi ~/.bash_profile } function md(){ source ~/.bash_profile } function cf(){ vi ~./.ssh/config } if [ -f ~/.bashrc ]; then . ~/.bashrc fi