mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-18 07:43:00 -07:00
e2981da430
- Simplified `useCommandCompletion.tsx` by moving shell-specific tokenization into `useShellCompletion.ts`. - Reverted most changes to the `useCommandCompletion` `useMemo` block to keep it clean and consistent with other modes. - Fixed a potential race condition in `useShellCompletion.ts` where `scanPathExecutables` could be called multiple times if it was slow. It now caches the Promise itself. - Updated tests to match the refined hook interfaces.