Open torch2424 opened 6 years ago
How do you propagate updates to your various config files after you've copied them into place? Just re-run your "copy files into place" script?
I considered your approach before going with symbolic links. I couldn't shake the feeling that it'd be simpler to use ln -s
to "move" the files into place so that later, after making changes, it'd be as simple as a git pull
to update things.
Naw dude, you just git pull and it works with this method as well :)
Since your dotfile .git
will live inside of ~/.git
, everything will update fine :)
And as you get a lot of dotfiles, making symlinks is going to be hard/complicated.
So I saw you opted for symbolic linking, but if you don't mind, let me share what I do 😄
In your
.gitignore
, ignore everything. E.g:And then to add files, simply force add them:
That way, you always have files in the correct place, and it's super easy :)
Also, you want to clone the repo, and then copy everything into your $HOME directory. See my my script here.
See this dotfiles guide for more info.
Anyways, sorry for being nosy, just saw and thought I might try to help ❤️