diff options
| author | Luke Hoersten <[email protected]> | 2026-04-26 20:29:54 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-04-26 20:29:54 -0500 |
| commit | f3ecec24a273a2ecdbb98b68c894ab2b722dd906 (patch) | |
| tree | f4c0bfaaab2497e4d018d9e655f90c02d89cf17c /claude-code-hook-example.json | |
| parent | 773a6403db60cfabcbcd42694ef6219ece1948e0 (diff) | |
Fix package-lint errors, add transient buffer support, XDG path detectionmain
Diffstat (limited to 'claude-code-hook-example.json')
| -rw-r--r-- | claude-code-hook-example.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/claude-code-hook-example.json b/claude-code-hook-example.json index 8cc880f..2547e5a 100644 --- a/claude-code-hook-example.json +++ b/claude-code-hook-example.json @@ -7,7 +7,7 @@ "hooks": [ { "type": "command", - "command": "CONTEXT_FILE=\"$HOME/.emacs.d/claude-code-context.json\"; if [ -f \"$CONTEXT_FILE\" ]; then echo \"\\n---\\n## Emacs Context\\n\"; cat \"$CONTEXT_FILE\"; echo \"\\n---\"; fi" + "command": "CONTEXT_FILE=\"${XDG_CONFIG_HOME:-$HOME/.config}/emacs/claude-code-context.json\"; [ -f \"$CONTEXT_FILE\" ] || CONTEXT_FILE=\"$HOME/.emacs.d/claude-code-context.json\"; if [ -f \"$CONTEXT_FILE\" ]; then echo \"\\n---\\n## Emacs Context\\n\"; cat \"$CONTEXT_FILE\"; echo \"\\n---\"; fi" } ] } |
