Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 271 Bytes
require 'rake'
desc "Let's hook this motherfucker into your system"
task :install do
linkables = Dir.glob('*/**{.symlink}')
linkables.each do |linkable|
file = linkable.split('/').last.split('.').first
`ln -s "$PWD/#{linkable}" "$HOME/.#{file}"`
end
end