オレオレ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

 

藤沢瞭介(Ryosuke Hujisawa)
  • りょすけと申します。18歳からプログラミングをはじめ、今はフロントエンドでReactを書いたり、AIの勉強を頑張っています。off.tokyoでは、ハイテクやガジェット、それからプログラミングに関する情報まで、エンジニアに役立つ情報を日々発信しています!

未整理記事

コメントする

メールアドレスが公開されることはありません。 が付いている欄は必須項目です