mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
feat(rails): add some aliases (#11739)
This commit is contained in:
parent
14f0f2971f
commit
b1b3a020ec
2 changed files with 8 additions and 2 deletions
|
@ -40,7 +40,10 @@ plugins=(... rails)
|
|||
| `rn` | `rails notes` | Search for notes (`FIXME`, `TODO`) in code comments |
|
||||
| `rp` | `rails plugin` | Run a Rails plugin command |
|
||||
| `rr` | `rails routes` | List all defined routes |
|
||||
| `rrg` | `rails routes \| grep` | List and filter the defined routes |
|
||||
| `rrc` | `rails routes --controller` | List and filter routes mapped to specific controller |
|
||||
| `rre` | `rails routes --expanded` | List all defined routes in expanded table mode |
|
||||
| `rrg` | `rails routes --grep` | List and filter the defined routes |
|
||||
| `rru` | `rails routes --unused` | List unused routes |
|
||||
| `rs` | `rails server` | Launch a web server |
|
||||
| `rsb` | `rails server --bind` | Launch a web server binding it to a specific IP |
|
||||
| `rsd` | `rails server --debugger` | Launch a web server with debugger |
|
||||
|
|
|
@ -68,7 +68,10 @@ alias rmd='rails middleware'
|
|||
alias rn='rails notes'
|
||||
alias rp='rails plugin'
|
||||
alias rr='rails routes'
|
||||
alias rrg='rails routes | grep'
|
||||
alias rrc='rails routes --controller'
|
||||
alias rre='rails routes --expanded'
|
||||
alias rrg='rails routes --grep'
|
||||
alias rru='rails routes --unused'
|
||||
alias rs='rails server'
|
||||
alias rsb='rails server --bind'
|
||||
alias rsd='rails server --debugger'
|
||||
|
|
Loading…
Reference in a new issue