depends on chezmoi
- install chezmoi
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/binwinget install twpayne.chezmoi
- if you are in PowerShell,
Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope Process chezmoi init --apply berlysia
~/.local/binwill be added to$PATH~/.local/.binwill be added to$PATH, and overwrite this directory with symlink
-
homebrew (only mac)
-
direnv
-
fzf
-
ripgrep
-
bat
-
WSL2 ssh-agent (only WSL)
-
my custom zsh prompt
This dotfiles project includes tools for analyzing Claude Code hook decision logs:
Automated permission pattern analysis and management tool:
# Interactive review of all patterns
bun dot_claude/scripts/update-auto-approve.ts
# Preview changes without applying
bun dot_claude/scripts/update-auto-approve.ts --dry-run
# Analyze last 7 days only
bun dot_claude/scripts/update-auto-approve.ts --since 7d
# Auto-approve safe patterns without interaction
bun dot_claude/scripts/update-auto-approve.ts --auto-approve-safe
# Show detailed analysis information
bun dot_claude/scripts/update-auto-approve.ts --verboseFeatures:
- Analyzes
~/.claude/logs/decisions.jsonlfor permission patterns - Provides risk scoring and confidence levels
- Interactive review interface for pattern approval
- Automatic backup of permission files
- Supports time-based filtering of logs