From 64205f9c1d5df1d63dab16dc4bd33248f5750f7b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 May 2013 22:44:27 -0300 Subject: Fixing screenrc template --- templates/screen/screenrc.erb | 12 +++++------- 1 file 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 -- cgit v1.2.3