]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing screenrc template (2)
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 May 2013 01:56:45 +0000 (22:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 May 2013 01:56:45 +0000 (22:56 -0300)
templates/screen/screenrc.erb

index f10379c49e6cbacf1b3b9e4a641758232e6cb25c..2f41cb84646bcc5dcc5b29ed95329fd4f35e63de 100644 (file)
@@ -127,12 +127,12 @@ bind ^] paste [.]
 # screen -t local 0
 # screen -t mail 1 elm
 # screen -t 40 2 rlogin faui40
-<% @windows.each do |window| -%>
+<% @windows.each do |window| %>
 screen -t <%= window %>
-<% end -%>
-<% if select != '' then -%>
-select <%= select %>
-<% end -%>
+<% end %>
+<% if @select %>
+select <%= @select %>
+<% end %>
 
 # caption always "%3n %t%? @%u%?%? [%h]%?"
 # hardstatus alwaysignore