Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
5aa62461
Commit
5aa62461
authored
May 17, 2019
by
Mert Simsek
Committed by
Marc Cornellà
May 17, 2019
Browse files
rails: change rg alias to `rgen` (#7858)
The rg alias conflicted with ripgrep.
parent
dfb060f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/rails/README.md
View file @
5aa62461
...
...
@@ -18,7 +18,7 @@ plugins=(... rails)
|
`rcs`
|
`rails console --sandbox`
| Test code in a sandbox, without changing any data |
|
`rd`
|
`rails destroy`
| Undo a generate operation |
|
`rdb`
|
`rails dbconsole`
| Interact with your db from the console |
|
`rg`
|
`rails generate`
| Generate boilerplate code |
|
`rg
en
`
|
`rails generate`
| Generate boilerplate code |
|
`rgm`
|
`rails generate migration`
| Generate a db migration |
|
`rp`
|
`rails plugin`
| Run a Rails plugin command |
|
`ru`
|
`rails runner`
| Run Ruby code in the context of Rails |
...
...
plugins/rails/rails.plugin.zsh
View file @
5aa62461
...
...
@@ -43,7 +43,7 @@ alias rc='rails console'
alias
rcs
=
'rails console --sandbox'
alias
rd
=
'rails destroy'
alias
rdb
=
'rails dbconsole'
alias
rg
=
'rails generate'
alias
rg
en
=
'rails generate'
alias
rgm
=
'rails generate migration'
alias
rp
=
'rails plugin'
alias
ru
=
'rails runner'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment