From 7451e8c739c2001bd311ebf39ff04020ed35e1ce Mon Sep 17 00:00:00 2001 From: Jeremy Cook Date: Fri, 19 Sep 2014 14:36:32 -0400 Subject: [PATCH] Bug fix to cover cases where homes are symlinked. --- lib/homesick/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/homesick/utils.rb b/lib/homesick/utils.rb index acf599e..c8ef614 100644 --- a/lib/homesick/utils.rb +++ b/lib/homesick/utils.rb @@ -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