A super-basic dotfiles setup.
To use on a new machine:
git clone https://github.com/petedoyle/dotfiles.git .dotfiles
- For each file in this repo:
- Replace the version in
~
with a symlink, e.g.ln -s .dotfiles/.gitconfig .gitconfig
- Replace the version in
To add a new file to the repo:
- From
~
:mv .my_dot_file .dotfiles
ln -s .dotfiles/.my_dot_file .my_dot_file
- Commit the files and push to main (note that it's a public repo, so no keys, access tokens, etc.)