Clean up location of ~/.yadr
This commit is contained in:
parent
429bba4779
commit
c29276bec1
@ -1,4 +1,4 @@
|
|||||||
Dir[File.join(File.dirname(__FILE__),"lib/**/lib")].each {|dir| $LOAD_PATH << dir}
|
Dir[File.join(File.dirname(__FILE__),"lib/**/lib")].each {|dir| $LOAD_PATH << dir}
|
||||||
require 'git-style-binary/command'
|
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")
|
||||||
|
@ -1,13 +1,3 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.join(File.dirname(__FILE__), 'default_libs')
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user