Renamed symlink action to ln_s.
This commit is contained in:
@@ -44,7 +44,7 @@ class Homesick < Thor
|
|||||||
inside user_dir do
|
inside user_dir do
|
||||||
adjusted_path = (user_dir + path).basename
|
adjusted_path = (user_dir + path).basename
|
||||||
|
|
||||||
symlink absolute_path, adjusted_path
|
ln_s absolute_path, adjusted_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class Homesick
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def symlink(source, destination, config = {})
|
def ln_s(source, destination, config = {})
|
||||||
destination = Pathname.new(destination)
|
destination = Pathname.new(destination)
|
||||||
|
|
||||||
if destination.symlink?
|
if destination.symlink?
|
||||||
|
|||||||
Reference in New Issue
Block a user