Another Dotfiles Repo
Work in-progress:
- Implement XDG Base Directory Specification.
- Investigate using
stow
to manage configuration files under $HOME
.
- Decide how to handle the fact that OSX terminals are login terminals by default.
- Reconsider sourcing .local version of bash files after the standard (to allow local overrides)
Goals
- All elements should be optional and easy to enable or revert.
- Configuration should be as minimal as possible.
- Configuration should prefer installed tools/utilities
- Access to overriden system utilities should still possible.
- It should be possible, and easy, to reset the system
- Remove symbolic links that were created
- Replace original files
- Remove the cloned repo
- Uninstall applications installed by Homebrew
- Uninstall Homebrew
Organization and Usage
I want to have symbolic links reference files in this repo. Changes that
are made on the system should be committed and pushed back up to the repo.
For now; linking, backing up original files, and invoking the provisioning
scripts that install a base set of utilities are going to be a manual process.
I looked at Dotbot.
This repo tries to imitate the Linux Filesystem Heirarchy Standard to
achieve a sensible orgnization. To that end, the repo can be cloned into
a directory named ~/.local
to achive a layout that should be familiar.
Setting up a new system
On a brand new system:
- Create your user
- Install Homebrew
- Copy or create ssh keys and configure GitHub (if needed)
- Clone this repo and ...
- Run OSX defaults configuration (get a backup first)
- Run base brew installation scripts
- Run select application installation scripts
- Link select configuration files (move originals first)
Updating an existing system
TODO ...
Things that are missing
... a lot, but this is a start.
Check out these references for further brew inspiration