Clean up location of ~/.yadr

This commit is contained in:
Yan Pritzker 2012-09-27 13:27:40 -07:00
parent 429bba4779
commit c29276bec1
2 changed files with 1 additions and 11 deletions

View File

@ -1,4 +1,4 @@
Dir[File.join(File.dirname(__FILE__),"lib/**/lib")].each {|dir| $LOAD_PATH << dir}
require 'git-style-binary/command'
$yadr = `find -L ~ -type file -maxdepth 2 -name .yadr | head | sed 's:\.yadr\/::'`.chomp
$yadr = File.join(ENV['HOME'], ".yadr")

View File

@ -1,13 +1,3 @@
#!/usr/bin/env ruby
require File.join(File.dirname(__FILE__), 'default_libs')
# GitStyleBinary.primary do
#
# end
# GitStyleBinary.command do
# version "yadr 1.0"
# banner <<-EOS
# Welcome to YADR, Yet Another Dotfile Repo Manager
# Usage: yadr #{all_options_string}
# EOS
# end