Skip to content

Commit d3f624b

Browse files
docs: Update archive-plan.sh and settings.json examples for nested plan support
1 parent c141176 commit d3f624b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/cli/plan-mode.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ Storage whenever Gemini CLI exits Plan Mode to start the implementation.
331331
#!/usr/bin/env bash
332332
# Extract the plan filename from the tool input JSON
333333
plan_filename=$(jq -r '.tool_input.plan_filename // empty')
334-
plan_filename=$(basename -- "$plan_filename")
335334

336335
# Construct the absolute path using the GEMINI_PLANS_DIR environment variable
337336
plan_path="$GEMINI_PLANS_DIR/$plan_filename"
@@ -360,7 +359,7 @@ To register this `AfterTool` hook, add it to your `settings.json`:
360359
{
361360
"name": "archive-plan",
362361
"type": "command",
363-
"command": "./.gemini/hooks/archive-plan.sh"
362+
"command": "~/.gemini/hooks/archive-plan.sh"
364363
}
365364
]
366365
}

0 commit comments

Comments
 (0)