chevinbrown
12/27/2017 - 5:55 PM

.aliases

alias be="bundle exec"
alias cl="clear"
alias ga="git add"
alias gc="git commit"
alias gca="git commit -am"
alias gch="git checkout"
alias gcl="git clone"
alias gi="git init"
alias gl="git log"
alias gs="git status"
alias gb="git branch"
alias gm="git merge"
alias gp="git push"
alias gpo="git push origin"
alias gpl="git pull -ff"
alias gplo="git pull origin"
alias grao="git remote add origin"
alias grso="git remote show origin"
alias grro="git remote rm origin"
alias grest="git reset --hard"
alias grbm="git rebase origin/master -i"
alias lu="lunchy"
alias lust="lunchy start"
alias lusp="lunchy stop"
alias noi="npm install"
alias noig="npm install -g"
alias noli="npm list -g --depth=0"
alias ra="rails new"
alias rat="rails new -T"
alias rc="rails console"
alias rcdb="rails dbconsole"
alias rd="rails destroy"
alias rdc="rails destroy controller"
alias rdmo="rails destroy model"
alias rdmi="rails destroy migration"
alias rg="rails generate"
alias rgc="rails generate controller"
alias rgs="rails generate scaffold"
alias rgmo="rails generate model"
alias rgmi="rails generate migration"
alias rs="rails server"
alias rkd="rake db:"
alias rkdm="rake db:migrate"
alias rkdr="rake db:rollback"
alias rkdt="rake db:test"
alias rkdtp="rake db:test:prepare"
alias src="source ~/.zshrc"