Bug fix to cover cases where homes are symlinked.
This commit is contained in:
@@ -21,7 +21,7 @@ module Homesick
|
||||
protected
|
||||
|
||||
def home_dir
|
||||
@home_dir ||= Pathname.new(ENV['HOME'] || '~').expand_path
|
||||
@home_dir ||= Pathname.new(ENV['HOME'] || '~').realpath
|
||||
end
|
||||
|
||||
def repos_dir
|
||||
|
||||
Reference in New Issue
Block a user