DEV Community

Discussion on: How do you manage your dotfiles across multiple and/or new developer machines?

Collapse
 
lostintangent profile image
Jonathan Carter

After you clone the repo on to your machine, how to you install them (e.g. symlinking files, etc.)? Do you have something like an “install.sh” script in the repo that you run?

Collapse
 
easyaspython profile image
Dane Hillard

That's exactly what I do!

Thread Thread
 
lostintangent profile image
Jonathan Carter

Great, thanks for confirming 👍

Collapse
 
avatarkaleb profile image
Kaleb M

That would be clutch! I typically just copy and paste if there are any updates, many changes outside of the base set ups are specific to the laptop for work vs personal !

Thread Thread
 
jmervine profile image
Joshua Mervine • Edited

Here’s my very personalize Makefile for installing which perhaps could be adapted.

github.com/jmervine/zshrc/blob/mas...

Which, when looking over just now for the first in quite a while, needs some clean up.

Thread Thread
 
easyaspython profile image
Dane Hillard

Hmmmm I like this enough that I might do it too. Right now I'm symlinking everything in a bash script which works well, but the uninstall would have to be manual at the moment. I like that make would kind of supervise all of that.