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

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