andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.11k stars 145 forks source link

Autolinking feature #48

Closed jrhorn424 closed 11 years ago

jrhorn424 commented 11 years ago

It would be nice if homeshick had a feature to autolink newly cloned repositories for automated, silent install on new boxes.

andsens commented 11 years ago

What I do in my automation script is simply clone all the needed repos with --batch (so no linking or prompts) and then call homeshick link --force, which overwrites all existing files.

jrhorn424 commented 11 years ago

Excellent tip! I missed --batch and --force in this gist of the install script.

jrhorn424 commented 11 years ago

Ah, I see these options are documented in homeshick -h. I don't know why I was relying on the README so much.

andsens commented 11 years ago

heh, no worries. I should actually add documentation for the switches to the README.