aboutsummaryrefslogtreecommitdiff
path: root/templates/screen/screenrc.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/screen/screenrc.erb')
-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