Skip to content

Commit

Permalink
Move shell script under lib/hitch
Browse files Browse the repository at this point in the history
- The 'lib' directory should only contain a 'hitch.rb' file and 'hitch' directory
  • Loading branch information
therubymug committed Feb 8, 2013
1 parent 9536424 commit 995dcdd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -35,7 +35,7 @@ Install:
<pre><code>for x in $(rvm list strings); do rvm use $x@global && gem install hitch; done</code></pre>
* hitch --setup >> ~/.bashrc
- this prints out the necessary shell function and aliases you need to add to your ~/.bashrc or ~/.zshrc
* Or copy/paste [the code](lib/hitch.sh) into your ~/.bashrc or ~/.zshrc
* Or copy/paste [the code](lib/hitch/hitch.sh) into your ~/.bashrc or ~/.zshrc
* As another option, copy/symlink the script to a separate file (e.g. `~/.bash/hitch.sh` or `/etc/profile.d/hitch.sh`) and source it. You can get the path using `hitch --setup-path`.

Development:
Expand Down
2 changes: 1 addition & 1 deletion lib/hitch.rb
Expand Up @@ -87,7 +87,7 @@ def self.group_domain
end

def self.setup_path
File.join(File.dirname(__FILE__), 'hitch.sh')
File.join(File.dirname(__FILE__), 'hitch', 'hitch.sh')
end

def self.print_setup_path
Expand Down
File renamed without changes.

0 comments on commit 995dcdd

Please sign in to comment.