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
81d94e6c
Commit
81d94e6c
authored
Oct 12, 2011
by
Godwin Ko
Browse files
add rails runner alias
parent
757fa331
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/rails/rails.plugin.zsh
View file @
81d94e6c
...
@@ -2,6 +2,7 @@ alias ss='thin --stats "/thin/stats" start'
...
@@ -2,6 +2,7 @@ alias ss='thin --stats "/thin/stats" start'
alias
sg
=
'ruby script/generate'
alias
sg
=
'ruby script/generate'
alias
sd
=
'ruby script/destroy'
alias
sd
=
'ruby script/destroy'
alias
sp
=
'ruby script/plugin'
alias
sp
=
'ruby script/plugin'
alias
sr
=
'ruby script/runner'
alias
ssp
=
'ruby script/spec'
alias
ssp
=
'ruby script/spec'
alias
rdbm
=
'rake db:migrate'
alias
rdbm
=
'rake db:migrate'
alias
sc
=
'ruby script/console'
alias
sc
=
'ruby script/console'
...
...
plugins/rails3/rails3.plugin.zsh
View file @
81d94e6c
...
@@ -14,6 +14,7 @@ alias rdb='_rails_command dbconsole'
...
@@ -14,6 +14,7 @@ alias rdb='_rails_command dbconsole'
alias
rdbm
=
'rake db:migrate db:test:clone'
alias
rdbm
=
'rake db:migrate db:test:clone'
alias
rg
=
'_rails_command generate'
alias
rg
=
'_rails_command generate'
alias
rp
=
'_rails_command plugin'
alias
rp
=
'_rails_command plugin'
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
devlog
=
'tail -f log/development.log'
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