aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %>