- Fork this repo
- Install chezmoi. Having the
chezmoi
binary on your path is convenient - Run
chezmoi init <YOUR_GITHUB_USERNAME>
. It will prompt you for a few inputs like your name & email address - [optional] Run
chezmoi diff
to see which files would clash with your existing config. Back up things you want to store & reintroduce later. - Run
chezmoi apply
. It will not overwrite existing files without asking you - In your shell's init file, source the appropriate customization:
- If you use zsh, source
~/.config/zsh/user.zsh
- If you use bash, source
~/.bashrc_user.sh
- Note that I use zsh, so the bash files receive a bit less love. I do my best to keep the functionality the same though.
- If you use zsh, source