aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:56:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:56:45 -0300
commit5b49d0258ed3b6259fcd9579295ea98d4d8f35d9 (patch)
tree6957901270ffd6cc6f49d3ebd01e06c3272059d2
parent64205f9c1d5df1d63dab16dc4bd33248f5750f7b (diff)
downloadpuppet-nodo-5b49d0258ed3b6259fcd9579295ea98d4d8f35d9.tar.gz
puppet-nodo-5b49d0258ed3b6259fcd9579295ea98d4d8f35d9.tar.bz2
Fixing screenrc template (2)
-rw-r--r--templates/screen/screenrc.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/screen/screenrc.erb b/templates/screen/screenrc.erb
index f10379c..2f41cb8 100644
--- a/templates/screen/screenrc.erb
+++ b/templates/screen/screenrc.erb
@@ -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