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
8300f62e
Commit
8300f62e
authored
Jun 06, 2013
by
Lucas Uyezu
Browse files
Adding testlog and prodlog.
parent
86a889ea
Changes
3
Show whitespace changes
Inline
Side-by-side
plugins/rails/rails.plugin.zsh
View file @
8300f62e
...
@@ -10,6 +10,8 @@ alias migrate='rake db:migrate && rake db:test:prepare'
...
@@ -10,6 +10,8 @@ alias migrate='rake db:migrate && rake db:test:prepare'
alias
sc
=
'ruby script/console'
alias
sc
=
'ruby script/console'
alias
sd
=
'ruby script/server --debugger'
alias
sd
=
'ruby script/server --debugger'
alias
devlog
=
'tail -f log/development.log'
alias
devlog
=
'tail -f log/development.log'
alias
testlog
=
'tail -f log/test.log'
alias
prodlog
=
'tail -f log/production.log'
alias
-g
RET
=
'RAILS_ENV=test'
alias
-g
RET
=
'RAILS_ENV=test'
alias
-g
REP
=
'RAILS_ENV=production'
alias
-g
REP
=
'RAILS_ENV=production'
alias
-g
RED
=
'RAILS_ENV=development'
alias
-g
RED
=
'RAILS_ENV=development'
...
...
plugins/rails3/rails3.plugin.zsh
View file @
8300f62e
...
@@ -19,6 +19,8 @@ alias ru='_rails_command runner'
...
@@ -19,6 +19,8 @@ alias ru='_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'
alias
testlog
=
'tail -f log/test.log'
alias
prodlog
=
'tail -f log/production.log'
alias
rdm
=
'rake db:migrate'
alias
rdm
=
'rake db:migrate'
alias
rdr
=
'rake db:rollback'
alias
rdr
=
'rake db:rollback'
alias
-g
RET
=
'RAILS_ENV=test'
alias
-g
RET
=
'RAILS_ENV=test'
...
...
plugins/rails4/rails4.plugin.zsh
View file @
8300f62e
...
@@ -21,6 +21,8 @@ alias ru='_rails_command runner'
...
@@ -21,6 +21,8 @@ alias ru='_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'
alias
testlog
=
'tail -f log/test.log'
alias
prodlog
=
'tail -f log/production.log'
alias
rdm
=
'rake db:migrate'
alias
rdm
=
'rake db:migrate'
alias
rdc
=
'rake db:create'
alias
rdc
=
'rake db:create'
alias
rdr
=
'rake db:rollback'
alias
rdr
=
'rake db:rollback'
...
...
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