Most of the ideas here are taken from the numerous other dotfiles repositories on GitHub.
curl https://raw.githubusercontent.com/aceat64/dotfiles/master/prep.sh | sh
You can choose to manually run the rake file:
rake install
This rake task will not replace existing files, but it will replace existing symlinks.
The dotfiles will be symlinked, e.g. ~/.bash_profile
symlinked to ~/.dotfiles/bash_profile
.
If e.g. ~/.dotfiles/gitconfig
contains <.replace github-token>
then
- that bit will be replaced with the contents of
~/.github-token
- the resulting file will be written to
~/.dotfiles/gitconfig
directly, not symlinked
So if you want to make changes to that file, make them in ~/dotfiles/gitconfig
and then run rake install
again.
Changes to symlinked files without <.replace>
bits do not require a rake install
on every change as they're symlinked.
The awesome rake file was taken from christian-oudard's dotfiles repo.