aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:44:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:44:27 -0300
commit64205f9c1d5df1d63dab16dc4bd33248f5750f7b (patch)
tree70f158b427b5deae9cbf1746b53a451440dcb2d8
parentfcd4d24c5ed98a04438f425e878cd69029f84aeb (diff)
downloadpuppet-nodo-64205f9c1d5df1d63dab16dc4bd33248f5750f7b.tar.gz
puppet-nodo-64205f9c1d5df1d63dab16dc4bd33248f5750f7b.tar.bz2
Fixing screenrc template
-rw-r--r--templates/screen/screenrc.erb12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/screen/screenrc.erb b/templates/screen/screenrc.erb
index 5196352..f10379c 100644
--- a/templates/screen/screenrc.erb
+++ b/templates/screen/screenrc.erb
@@ -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