1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 03:27:59 +00:00

Rewrite some of the rails aliases

This commit is contained in:
Sorin Ionescu 2012-06-14 19:05:12 -04:00
parent 027edbaae5
commit 6c1cec6f9b

View File

@ -7,17 +7,20 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# Aliases (compatible with Rails 2) # Aliases (Compatible with Rails 2)
alias rc='_rails-command console' alias rc='_rails-command console'
alias rd='_rails-command destroy' alias rdc='_rails-command dbconsole'
alias rdb='_rails-command dbconsole' alias rdm='rake db:migrate'
alias rdbm='rake db:migrate db:test:clone' alias rdM='rake db:migrate db:test:clone'
alias rdr='rake db:rollback'
alias rg='_rails-command generate' alias rg='_rails-command generate'
alias rl='tail -f log/development.log'
alias rlc='rake log:clear'
alias rp='_rails-command plugin' alias rp='_rails-command plugin'
alias rr='_rails-command runner' alias rr='_rails-command runner'
alias rs='_rails-command server' alias rs='_rails-command server'
alias rsd='_rails-command server --debugger' alias rsd='_rails-command server --debugger'
alias devlog='tail -f log/development.log' alias rx='_rails-command destroy'
# Functions # Functions
function _rails-command { function _rails-command {