diff --git a/lib/homesick.rb b/lib/homesick.rb index 6708370..6ddd317 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -44,7 +44,7 @@ class Homesick < Thor inside user_dir do adjusted_path = (user_dir + path).basename - symlink absolute_path, adjusted_path + ln_s absolute_path, adjusted_path end end end diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index 16b2810..2bb3201 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -18,7 +18,7 @@ class Homesick end end - def symlink(source, destination, config = {}) + def ln_s(source, destination, config = {}) destination = Pathname.new(destination) if destination.symlink?