dotfiles/README.md
mwiegand adc06c6791
refactor: ~/.zshrc sources ai-config agent-env.zsh directly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Zd8dTezcoQG42Pv4nJn94
2026-10-11 11:53:47 +02:00

56 lines
1.2 KiB
Markdown

# dotfiles
Shared shell and tool configuration.
## Scope
Tracked files:
- `.zshrc` — shared zsh UI behavior
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:
```zsh
source "$HOME/Projekte/dotfiles/.zshrc"
```
Agent instructions, hooks, `.env.agents`, the Claude statusline and the agent SSH helpers moved to
`~/Projekte/ai-config/agents/` on 2026-10-09; since 2026-10-11 `~/.zshrc` sources `agent-env.zsh`
directly, not this repo's `.zshrc`. See that folder's README for the wiring.
## 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:
```bash
zsh -n ~/.zshrc
zsh -n ~/Projekte/dotfiles/.zshrc
```
Quick interactive prompt check:
```bash
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