Personal dotfiles, configuration for shell, editor settings, and macOS applications.
- Shell — Zsh configuration and aliases
- Editor — VS Code settings and keybindings
- Applications — Homebrew packages and casks
- OpenCode — AI coding assistant configuration
-
Clone this repository:
git clone git@github.com:nickspaargaren/dotfiles.git ~/.dotfiles cd ~/.dotfiles
-
Link configuration files:
ln -sf ~/.dotfiles/.zshrc ~/.zshrc ln -sf ~/.dotfiles/.vimrc ~/.vimrc ln -sf ~/.dotfiles/Brewfile ~/.Brewfile ln -sf ~/.dotfiles/.gitconfig ~/.gitconfig ln -sf ~/.dotfiles/opencode ~/.config/opencode ln -sf ~/.dotfiles/.agents/ ~/.agents ln -sf ~/.dotfiles/herdr/config.toml ~/.config/herdr/config.toml ln -sf ~/.dotfiles/worktrunk/config.toml ~/.config/worktrunk/config.toml ln -sf ~/.dotfiles/karabiner/karabiner.json ~/.config/karabiner/karabiner.json # Visual Studio Code IDE (macOS) ln -sf ~/.dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json ln -sf ~/.dotfiles/vscode/keybindings.json ~/Library/Application\ Support/Code/User/keybindings.json
-
Install Homebrew packages:
macOS:
brew bundle --global
Linux:
brew bundle --global --no-cask
Note: Casks are macOS-only GUI applications and will not install on Linux. The
--no-caskflag skips these installations. -
Restart your terminal
The Brewfile.work is a separate Homebrew bundle file for work-specific applications and tools.
To install work-specific packages:
brew bundle --file=~/.dotfiles/Brewfile.workRemove all local installed except for included in Brewfile
brew bundle cleanup --file=~/.dotfiles/BrewfileDump only local installed to Brewfile
brew bundle dump --file=~/.dotfiles/Brewfile --formula --tap --cask --mas --vscode --force --describeUpdate AI agent skills
skills update