This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a personal dotfiles repository managed with Chezmoi. It contains configuration files for a development environment that works across macOS and Ubuntu systems.
chezmoi apply- Apply dotfiles changes to the systemchezmoi diff- Preview changes before applyingchezmoi add ~/.config/someconfig- Add a new config file to managementchezmoi edit ~/.zshrc- Edit the source file (with templates)chezmoi update- Pull and apply latest changes
The user needs to run chezmoi commands manually because of an interaction with bitwarden. Tell the user which commands you want them to run, so they can run it and tell you the result.
- Package management: Uses
asdffor managing language/tool versions - Container management: Podman is configured (Docker aliases available)
- Editor: Neovim with extensive LSP and plugin configuration
c- chezmoiv- nvimgs- git statusgaa- git add -Agcm- git commit -mgp- git pushgpurm- git fetch --all && git pull --rebase --autostash origin main
- Files prefixed with
dot_become dotfiles (e.g.,dot_zshrc→~/.zshrc) - Files ending with
.tmpluse Go templating for OS-specific configurations - Files prefixed with
private_have restricted permissions - Scripts prefixed with
run_onchange_execute when their contents change
- Shell Configuration: Zsh with Oh My Zsh on macOS, Bash on Linux
- Neovim Setup: Comprehensive configuration in
private_dot_config/nvim/- Uses lazy.nvim for plugin management
- LSP support via mason.nvim
- Version Management: asdf handles multiple language versions
- Installation Scripts: Sequential scripts handle system setup:
run_onchange_before_00_install_system_packages.sh.tmpl- System packagesrun_onchange_before_05_install_asdf.sh.tmpl- asdf installationrun_onchange_before_10_install_packages.sh.tmpl- Language/tool installation
The templates use these OS-specific conditions:
{{ if eq .chezmoi.os "darwin" }}- macOS-specific{{ if eq .chezmoi.os "linux" }}- Linux-specific{{ if eq .chezmoi.osRelease.id "ubuntu" }}- Ubuntu-specific
- API keys (Anthropic, Tavily) are managed via Bitwarden integration
- SSH agent is managed via systemd on Linux
- Fonts included: CodeNewRoman Nerd Font family
- Ollama configured for AMD GPU (RX 6700 XT) with HSA_OVERRIDE_GFX_VERSION=10.3.0
Work on this repository is tracked in LogSeq journal pages via the logseq-agent, which automatically links daily journal entries to work completed. This provides a chronological record of changes and updates.