I started looking into organizing my
.zshrc which ended up taking me down a
rabbit hole of crazy projects and dotfile repos. The result is the fact that I
definitely want to redo my config repo. Here are my goals:
- Have my standard setup for Mac OSX available with a bootstrap script.
- Use zsh as my main shell with working emacs and vim configs.
- Have my dotfiles easily shareable and organized in a github repo.
- Allow only pieces of my dotfiles to be installed so I can keep old config without installing it on new machines or servers.
- Do not git my entire home directory like I have been doing.
- Have a lightweight bash setup for use on servers and have it be easy to install.
- No windows support at all anymore.
What have I done so far?
- Zsh config is done using zplug as a plugin manager.
- Current configs repo is cleaned up with all old and windows-based config removed.
- Vim config is updated using vim-plug
- Both zsh config and
only need their main rc files (
.vimrc). They will install their own plugin managers and plugins on startup.
.Gemfilecreated with default packages that I want installed.
- Work out a way to have a global npm package list available (
package.jsonin my dotfiles repo?). Once this is done move my
Gemfileinto my dotfiles repo.
- Make sure my emacs cask setup is bootstrappable from just my dotfiles.
- Write a script that will update my system (half done). This includes updating to the latest stable ruby and node in my main shell, install gems and npm packages into them, fully updating brew packages, updating emacs and vim packages, and running apple software updates.
- Figure out a dotfiles symlinking system (custom or GNU Stow) and figure out a bootstrap script.
My current plan is to have a dotfiles repo with global package lists in it (for gems, npm packages, and brews) that includes a bootstrap script that I can curl in order to install. Everything that will be installed into a home directory will be in directories based on use case and I will use GNU Stow to install them.
Will try to get that working tomorrow!