Update welcome.rb

This commit is contained in:
deepend-tildeclub authored and GitHub committed 2024-08-09 15:49:30 -06:00
1 parent d2478bee36
commit eabb3c33c9
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ puts
tz = %x{tzselect}.chomp
puts
puts " you selected #{tz}, adding this to your profile now"
if File.basename(user_shell) == "zsh"
if File.basename(shell) == "zsh"
open("#{Dir.home}/.zshrc", "a") { |f| f.puts "export TZ='#{tz}'" }
puts " Timezone set in your .zshrc file for ZSH."
else