mirror of
https://github.com/tildeclub/welcome.git
synced 2026-01-24 01:20:18 +00:00
Update welcome.rb
This commit is contained in:
committed by
GitHub
parent
d2478bee36
commit
eabb3c33c9
@@ -118,7 +118,7 @@ puts
|
|||||||
tz = %x{tzselect}.chomp
|
tz = %x{tzselect}.chomp
|
||||||
puts
|
puts
|
||||||
puts " you selected #{tz}, adding this to your profile now"
|
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}'" }
|
open("#{Dir.home}/.zshrc", "a") { |f| f.puts "export TZ='#{tz}'" }
|
||||||
puts " Timezone set in your .zshrc file for ZSH."
|
puts " Timezone set in your .zshrc file for ZSH."
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user