Skip to content

Repository files navigation

Dotfiles

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

Prerequisites

Installation

  1. Clone this repository:

    git clone git@github.com:nickspaargaren/dotfiles.git ~/.dotfiles
    cd ~/.dotfiles
  2. 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
  3. 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-cask flag skips these installations.

  4. Restart your terminal

Brewfile.work

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.work

Other commands

Remove all local installed except for included in Brewfile

brew bundle cleanup --file=~/.dotfiles/Brewfile

Dump only local installed to Brewfile

brew bundle dump --file=~/.dotfiles/Brewfile --formula --tap --cask --mas --vscode --force --describe

Update AI agent skills

skills update

About

My personal dotfiles, configuration for shell, AI config, editor settings, and macOS/linux applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages