rails/config/.screenrc.code.erb in RailsEditor-0.0.23 vs rails/config/.screenrc.code.erb in RailsEditor-0.0.24
- old
+ new
@@ -21,8 +21,8 @@
<% end %>
screen -t controllers bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:controllers_base] %>" -c "e .";sleep 1;done'
screen -t views bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:views_base] %>" -c "e .";sleep 1;done'
screen -t helpers bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:helpers_base] %>" -c "e .";sleep 1;done'
screen -t models bash -c 'umask 002;while true;do vim -c "cd <%= OPTIONS[:models_base] %>" -c "e .";sleep 1;done'
-screen -t svnwork bash -c 'umask 002;while true; do <%= OPTIONS[:shell] %>;sleep 1;done'
+screen -t svkwork bash -c 'umask 002;while true; do SVKROOT=<%= ENV['SVKROOT'] || (ENV['REAL_HOME'] + "/.svk") %> <%= OPTIONS[:shell] %>;sleep 1;done'
screen -t script bash -c 'umask 002;while true;do <%= OPTIONS[:shell] %>;sleep 2;done'
screen -t tests bash -c 'umask 002;while true;do cd <%= OPTIONS[:test_base] %>;<%= OPTIONS[:shell] %>;sleep 1;done'