From f3ecec24a273a2ecdbb98b68c894ab2b722dd906 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 26 Apr 2026 20:29:54 -0500 Subject: Fix package-lint errors, add transient buffer support, XDG path detection --- claude-code-hook-example.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'claude-code-hook-example.json') 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" } ] } -- cgit v1.2.3