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
.zshrcfile from this repo to the home directory - As this
.zshrcrefers to several other files, rather than just being one monolithic file itself, those referenced files (see thezshrcfolder in this repo) are also copied, in this case into the~\zshrc-includesfolder. - 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-pathfolder 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
- https://til.simonwillison.net/macos/close-terminal-on-ctrl-d
- Calendar in menu bar via Raycast: https://www.raycast.com/core-features/calendar
- MacOS > System Settings > Notifications > Allow notifications when mirroring or sharing the display
- https://dev.to/k3vout/open-ruby-on-rails-errors-with-vs-code-3c1f