Renamed 'link' command to 'symlink'

This commit is contained in:
Joshua Nichols
2010-03-31 23:59:05 -04:00
parent 46b2cbfa3f
commit 43facf1ec0
2 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -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