mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
chore(rails): fix comments and docs
This commit is contained in:
parent
3075d0c0ab
commit
47d313c904
2 changed files with 16 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# Rails
|
||||
|
||||
This plugin adds completion for [Ruby On Rails Framework](https://rubyonrails.org/) and [Rake](https://ruby.github.io/rake/) commands, as well as some aliases for logs and environment variables.
|
||||
This plugin adds completion for [Ruby On Rails Framework](https://rubyonrails.org/) and
|
||||
[Rake](https://ruby.github.io/rake/) commands, as well as some aliases for logs and environment variables.
|
||||
|
||||
To use it, add `rails` to the plugins array in your zshrc file:
|
||||
|
||||
|
|
@ -67,7 +68,9 @@ plugins=(... rails)
|
|||
These are global aliases. Use in combination with a command or just run them
|
||||
separately. For example: `REP rake db:migrate` will migrate the production db.
|
||||
|
||||
### Legacy rake aliases
|
||||
## Legacy
|
||||
|
||||
### Rake aliases
|
||||
|
||||
The following commands are run [using `rails` instead of `rake` since Rails v5][1], but are preserved under the
|
||||
prefix `rk` for backwards compatibility.
|
||||
|
|
@ -93,7 +96,7 @@ prefix `rk` for backwards compatibility.
|
|||
| `rksts` | `rake stats` | Print code statistics |
|
||||
| `rkt` | `rake test` | Run Rails tests |
|
||||
|
||||
### Legacy stuff
|
||||
### Other
|
||||
|
||||
| Alias | Command |
|
||||
| ------- | ---------------------------------- |
|
||||
|
|
@ -105,3 +108,5 @@ prefix `rk` for backwards compatibility.
|
|||
| `sr` | `ruby script/runner` |
|
||||
| `ssp` | `ruby script/spec` |
|
||||
| `sstat` | `thin --stats "/thin/stats" start` |
|
||||
|
||||
- `remote_console <server> <directory>`: runs `ruby script/console production` on a remote server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue