dotfiles/README.md
mwiegand c3edb9a12c
feat: add global Claude Code instructions
Tracks ~/.claude/CLAUDE.md in the repo under claude/CLAUDE.md.
The original is replaced by a symlink back to this file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 22:32:14 +02:00

1.1 KiB

dotfiles

Shared shell and tool configuration.

Scope

Tracked files:

  • .zshrc — shared zsh UI behavior
  • claude/CLAUDE.md — global Claude Code instructions

This repo is intentionally small. Machine-specific setup stays local unless explicitly promoted into shared config later.

Local Setup

zsh: Local ~/.zshrc sources this repo:

source "$HOME/Projekte/dotfiles/.zshrc"

Claude Code: ~/.claude/CLAUDE.md is a symlink to this repo:

ln -s "$HOME/Projekte/dotfiles/claude/CLAUDE.md" ~/.claude/CLAUDE.md

What Lives Here

Current shared config includes:

  • prompt styling
  • git branch display in the prompt
  • exit-code based prompt arrow color
  • zsh autosuggestions
  • prefix-based history search on arrow keys

Verification

Syntax check:

zsh -n ~/.zshrc
zsh -n ~/Projekte/dotfiles/.zshrc

Quick interactive prompt check:

zsh -i -c 'true; precmd; print -P -- "$PROMPT"'

Notes

Keep this repo focused on shared interactive shell UX.

Examples of config that should usually stay local:

  • secrets
  • host-specific paths
  • machine-specific SDK setup
  • one-off helper functions