From 39d904e12552b366e6629ba4127c372f5cb0bf8a Mon Sep 17 00:00:00 2001 From: Greg Hughes Date: Sun, 4 Jan 2026 23:42:06 -0800 Subject: [PATCH] fix(hooks): Add PATH export to hook commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Because you can't gt there from here without it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/claude/config/settings-autonomous.json | 8 ++++---- internal/claude/config/settings-interactive.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/claude/config/settings-autonomous.json b/internal/claude/config/settings-autonomous.json index 09e33d71..54c119e9 100644 --- a/internal/claude/config/settings-autonomous.json +++ b/internal/claude/config/settings-autonomous.json @@ -9,7 +9,7 @@ "hooks": [ { "type": "command", - "command": "gt prime && gt mail check --inject && gt nudge deacon session-started" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime && gt mail check --inject && gt nudge deacon session-started" } ] } @@ -20,7 +20,7 @@ "hooks": [ { "type": "command", - "command": "gt prime" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime" } ] } @@ -31,7 +31,7 @@ "hooks": [ { "type": "command", - "command": "gt mail check --inject" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt mail check --inject" } ] } @@ -42,7 +42,7 @@ "hooks": [ { "type": "command", - "command": "gt costs record" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record" } ] } diff --git a/internal/claude/config/settings-interactive.json b/internal/claude/config/settings-interactive.json index ecb6dd5f..9fbef9e2 100644 --- a/internal/claude/config/settings-interactive.json +++ b/internal/claude/config/settings-interactive.json @@ -9,7 +9,7 @@ "hooks": [ { "type": "command", - "command": "gt prime && gt nudge deacon session-started" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime && gt nudge deacon session-started" } ] } @@ -20,7 +20,7 @@ "hooks": [ { "type": "command", - "command": "gt prime" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime" } ] } @@ -31,7 +31,7 @@ "hooks": [ { "type": "command", - "command": "gt mail check --inject" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt mail check --inject" } ] } @@ -42,7 +42,7 @@ "hooks": [ { "type": "command", - "command": "gt costs record" + "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record" } ] }