Bug fix to cover cases where homes are symlinked.

This commit is contained in:
Jeremy Cook
2014-09-19 14:36:32 -04:00
parent e57b139e32
commit 7451e8c739

View File

@@ -21,7 +21,7 @@ module Homesick
protected protected
def home_dir def home_dir
@home_dir ||= Pathname.new(ENV['HOME'] || '~').expand_path @home_dir ||= Pathname.new(ENV['HOME'] || '~').realpath
end end
def repos_dir def repos_dir