Refine default agent menu

This commit is contained in:
David Heinemeier Hansson
2026-08-01 19:11:44 -07:00
parent a0e2501e15
commit a9b84cea8e
7 changed files with 44 additions and 14 deletions
+7
View File
@@ -41,6 +41,13 @@ copilot)
command=(copilot)
fi
;;
crush)
if [[ -n ${prompt:-} ]]; then
command=(crush run "$prompt")
else
command=(crush)
fi
;;
pi | omp | claude | codex | grok)
command=("$agent")
[[ -n ${prompt:-} ]] && command+=(-- "$prompt")