From ad3f59252beaf1a28e188dfc431a267875ca50b9 Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Tue, 16 Apr 2013 10:22:28 +0300 Subject: Added global aliases to use RAILS_ENV. --- plugins/rails3/rails3.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/rails3') diff --git a/plugins/rails3/rails3.plugin.zsh b/plugins/rails3/rails3.plugin.zsh index 237d0594b..a2697872a 100644 --- a/plugins/rails3/rails3.plugin.zsh +++ b/plugins/rails3/rails3.plugin.zsh @@ -21,3 +21,6 @@ alias rsd='_rails_command server --debugger' alias devlog='tail -f log/development.log' alias rdm='rake db:migrate' alias rdr='rake db:rollback' +alias -g RET='RAILS_ENV=test' +alias -g REP='RAILS_ENV=production' +alias -g RED='RAILS_ENV=development' -- cgit v1.2.3-70-g09d2