aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:58:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-26 22:58:43 -0300
commit224434cf44fe5b53cdec1f0d99917e111d610257 (patch)
treea9bd840a78a637df061e554b87ec46c9ace5cc2d
parent5b49d0258ed3b6259fcd9579295ea98d4d8f35d9 (diff)
downloadpuppet-nodo-224434cf44fe5b53cdec1f0d99917e111d610257.tar.gz
puppet-nodo-224434cf44fe5b53cdec1f0d99917e111d610257.tar.bz2
Fixing screenrc template (3)
-rw-r--r--templates/screen/screenrc.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/screen/screenrc.erb b/templates/screen/screenrc.erb
index 2f41cb8..c82fb2b 100644
--- a/templates/screen/screenrc.erb
+++ b/templates/screen/screenrc.erb
@@ -127,9 +127,11 @@ bind ^] paste [.]
# screen -t local 0
# screen -t mail 1 elm
# screen -t 40 2 rlogin faui40
+<% if @windows %>
<% @windows.each do |window| %>
screen -t <%= window %>
<% end %>
+<% end %>
<% if @select %>
select <%= @select %>
<% end %>