From 1ad4ce2dabf76be4ecea48e696b122c3c7ef49c3 Mon Sep 17 00:00:00 2001 From: "J.P Neverwas" Date: Fri, 13 Nov 2020 00:19:38 -0800 Subject: [PATCH] Trim trailing newline from tzselect output --- welcome.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/welcome.rb b/welcome.rb index f687407..f47bf4e 100644 --- a/welcome.rb +++ b/welcome.rb @@ -89,7 +89,7 @@ sep puts "step 4:" puts " great, let's set up your timezone!" puts -tz = %x{tzselect} +tz = %x{tzselect}.chomp puts puts " you selected #{tz}, adding this to your ~/.profile now" puts " it might not take effect until you log out and back in"