fix(hooks): Add PATH export to hook commands

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 <noreply@anthropic.com>
This commit is contained in:
Greg Hughes
2026-01-04 23:42:06 -08:00
parent e0ba057821
commit 39d904e125
2 changed files with 8 additions and 8 deletions
@@ -9,7 +9,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "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": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "gt prime" "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime"
} }
] ]
} }
@@ -31,7 +31,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "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": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "gt costs record" "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record"
} }
] ]
} }
@@ -9,7 +9,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "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": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "gt prime" "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime"
} }
] ]
} }
@@ -31,7 +31,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "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": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "gt costs record" "command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record"
} }
] ]
} }