From 43facf1ec06df1bd9c35313883014b9a1cc39ee4 Mon Sep 17 00:00:00 2001 From: Joshua Nichols Date: Wed, 31 Mar 2010 23:59:05 -0400 Subject: [PATCH] Renamed 'link' command to 'symlink' --- README.rdoc | 6 +++++- lib/homesick.rb | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.rdoc b/README.rdoc index ec225b6..945cb8f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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: - homesick link pickled-vim + homesick symlink pickled-vim If you're not sure what castles you have around, you can easily list them: 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 * Fork the project. diff --git a/lib/homesick.rb b/lib/homesick.rb index 6ddd317..6e9da4f 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -28,8 +28,8 @@ class Homesick < Thor end end - desc "link NAME", "Symlinks all dotfiles from the specified castle" - def link(home) + desc "symlink NAME", "Symlinks all dotfiles from the specified castle" + def symlink(home) unless castle_dir(home).exist? say_status :error, "Castle #{home} did not exist in #{repos_dir}", :red