initial configs

This commit is contained in:
2011-02-27 16:28:22 -05:00
commit d94ab5b5a5
9 changed files with 100 additions and 0 deletions

15
install.rb Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env ruby
# from http://errtheblog.com/posts/89-huba-huba
home = File.expand_path('~')
Dir['*'].each do |file|
next if file =~ /install/ || file =~ /README/
target = File.join(home, ".#{file}")
unless File.exist? target
`ln -vsf #{File.expand_path file} #{target}`
else
puts "#{target} exists"
end
end