mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 21:58:00 +00:00
Rewrite some of the rails aliases
This commit is contained in:
parent
027edbaae5
commit
6c1cec6f9b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user