Based on the idea behind https://github.com/olorton/dotfiles, this is effectively a backup of config, with a mechanism to automatically apply the config to a new machine.
If you do make use of these dotfiles yourself, make sure you update the user name and email in .gitconfig
to be you, not me!
To install the configuration files, simply run setup.sh
. This does the following:
- Copies over the
.zshrc
file from this repo to the home directory - As this
.zshrc
refers to several other files, rather than just being one monolithic file itself, those referenced files (see thezshrc
folder in this repo) are also copied, in this case into the~\zshrc-includes
folder. - Various other config files are symlinked from the home directory to the ones in
more-home-dir-config
- The scripts-in-path setup script is run. This puts symlinks to useful scripts into
~/scripts-in-path
. This folder is added to the path by one of the included zshrc files above. You can see the linked scripts in thescripts-in-path
folder in this repo.
I don't manage my SSH config here, but here's a reminder of the config to ensure keys get auto-forwarded to Codespaces:
Match host localhost user [codespaces-local-user-here]
AddKeysToAgent yes
ForwardAgent yes