Renamed 'link' command to 'symlink'
This commit is contained in:
@@ -24,12 +24,16 @@ Alternatively, if it's on github, there's a slightly shorter way:
|
|||||||
|
|
||||||
With the castle cloned, you can now link its contents into your home dir:
|
With the castle cloned, you can now link its contents into your home dir:
|
||||||
|
|
||||||
homesick link pickled-vim
|
homesick symlink pickled-vim
|
||||||
|
|
||||||
If you're not sure what castles you have around, you can easily list them:
|
If you're not sure what castles you have around, you can easily list them:
|
||||||
|
|
||||||
homesick list
|
homesick list
|
||||||
|
|
||||||
|
Not sure what else homesick has up its sleeve? There's always the built in help:
|
||||||
|
|
||||||
|
homesick help
|
||||||
|
|
||||||
== Note on Patches/Pull Requests
|
== Note on Patches/Pull Requests
|
||||||
|
|
||||||
* Fork the project.
|
* Fork the project.
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ class Homesick < Thor
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "link NAME", "Symlinks all dotfiles from the specified castle"
|
desc "symlink NAME", "Symlinks all dotfiles from the specified castle"
|
||||||
def link(home)
|
def symlink(home)
|
||||||
unless castle_dir(home).exist?
|
unless castle_dir(home).exist?
|
||||||
say_status :error, "Castle #{home} did not exist in #{repos_dir}", :red
|
say_status :error, "Castle #{home} did not exist in #{repos_dir}", :red
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user