Add formatters, hooks, memory entries and context-load improvements
- formatters/js, md, yaml: new/updated formatter scripts - hooks/set-wezterm-profile.sh: new hook for WezTerm profile switching - scripts/context-load: improvements from recent sessions - HOOKS.md, MEMORY.md: updated documentation and index entries - memory/log, memory/reference-infrastructure-docs.md: session logs and reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -80,6 +80,16 @@ if [[ ${#claude_dirs[@]} -eq 0 ]]; then
|
||||
echo "# Searched from: $PWD" >&2
|
||||
fi
|
||||
|
||||
# --- Output: Claude profile ---
|
||||
|
||||
profile_dir="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
|
||||
profile_name="$(basename "$profile_dir")"
|
||||
if [[ "$profile_name" == ".claude" ]]; then
|
||||
emit_header "CLAUDE PROFILE: default (~/.claude)"
|
||||
else
|
||||
emit_header "CLAUDE PROFILE: $profile_name ($profile_dir)"
|
||||
fi
|
||||
|
||||
# --- Output: CLAUDE.md files (top-down) + tree from each ---
|
||||
|
||||
# Track files we've already emitted to avoid duplicates
|
||||
|
||||
Reference in New Issue
Block a user