lib/tomatoharvest/tmux.rb in tomatoharvest-0.0.1 vs lib/tomatoharvest/tmux.rb in tomatoharvest-0.1.0
- old
+ new
@@ -13,10 +13,10 @@
ss = ss.to_s.rjust(2, "0")
"#[default]#[fg=green]#{mm}:#{ss}#[default]"
end
def write_tmux_time(time)
- path = File.join(ENV['HOME'],'.tomatmux')
+ path = File.join(TomatoHarvest::Config::GLOBAL_DIR, 'tmux')
File.open(path, 'w') do |file|
file.write tmux_time(time)
end
end