Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (13 sloc) 511 Bytes
#!/usr/bin/env ruby
# Inspired by
# This is idempotent, meaning you can run it over and over again without fear of
# breaking anything. Use it as an installer or to upgrade after merging from an
# upstream fork.
home = File.expand_path('~')
Dir['*'].each do |file|
next if file =~ /install/ || file =~ /README/
target = File.join(home, ".#{file}")
`ln -ns #{File.expand_path file} #{target}`
`git submodule sync`
`git submodule update --init --recursive`
Jump to Line
Something went wrong with that request. Please try again.