Environment configuration for @tannerwelsh.
Built around @anishathalye's dotbot.
The main configuration lives in default.conf.yaml, and additional machine-specific configurations can be found in additional *.conf.yaml files.
Since this configuration is meant to support both Mac and Linux machines, there are some slight differences.
All platform usage is consolidated on main. Differences are resolved by installing the platform-specific config (mac.conf.yaml or linux.conf.yaml) rather than by switching branches — see Installation below.
Known limitation: configs/gitconfig is a single statically-linked file shared by both platforms (see default.conf.yaml), and it currently hardcodes some Mac-only settings (the osxkeychain credential helper and a /opt/homebrew-based gh credential helper path). Linux users will need to adjust ~/.gitconfig (e.g. git config --global credential.helper cache) after install until this file is made platform-aware.
-
Clone this repo at
~/.dotfiles- this ensures that theDOTFILES_DIRenvironment variable is exported correctly.$ git clone git@github.com:tannerwelsh/dotfiles.git
-
Install dependencies: framework submodules, Vim plugins, and dependent packages/systems:
-
Run install script for the given machine, e.g. to use
mac.conf.yaml:$ cd dotfiles $ ./install -c mac.conf.yaml -
Enjoy your new configuration, with dotfiles symlinked into
~/!
NOTE: install only certain sections with the --only flag for install (see dotbot docs for more info), e.g. ./install -c mac.conf.yaml --only link.
Some of the packages installed might need additional configuration to work properly. Known caveats:
Used to use oh-my-zsh for zsh configuration, but wanted to get a better feel for setting up zsh and avoid the bloat brought in by having so many packages. So switched to a self-rolled setup with help from https://thevaluable.dev/zsh-install-configure-mouseless/.
After running ./install, install useful keybindings and fuzzy completion for fzf. See instructions with brew info fzf (for Mac).
When first running tmux, the plugins managed by tpm are not installed. To install them, run prefix + I (prefix is configured to ctrl-a) from within a tmux session.
Framework dependencies are included as Git submodules, and Vim plugins are installed from the pinned manifest. To update them, run:
$ ./updateYou will find aliases for common commands in configs/zsh_aliases.
Some useful ones to be aware of:
$ dotfiles # navigate to this directory
$ _alias # open zsh_aliases file in $EDITOR
$ refresh # re-source ~/.zshrc in shell (to include latest changes)This tool takes advantage of git submodules to load other dependencies. The full list of submodules can be found in the file .gitmodules.
The foundational framework for this project. Provides basic infrastructure for defining the configuration YAML. repo
Dotbot plugin allowing list of Homebrew packages to be defined in config files. repo
Tmux plugin manager. Self-explanatory. repo
There are other tools which you may want to install depending on environment needs.
- ImageMagick - image processing tool, used by lots of libraries
Also, some optional apps that you can manually install:
- 1Password
- Descript
- Docker Desktop
- Dropbox
- Figma
- Moom
- Pastebot (Mac)
- Slack
- Spotify
- Todoist
- VS Code (and Insiders edition)
- XCode (Mac)
- Zoom