summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/App.tsx
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-20 00:21:01 -0700
committerN. Taylor Mullen <[email protected]>2025-05-20 00:23:12 -0700
commit6ca446bdeda359339b20aaf024d5cce4234bfe9a (patch)
tree63a93661d0359996267850e3c7dde7dd749c38c2 /packages/cli/src/ui/App.tsx
parent9c72a3ae129a5ab6cbc13fded86da01f2a354a75 (diff)
fix(cli): Prevent truncation of first character in shell commands
- The shell command processor was incorrectly truncating the first character of the command (e.g., 'ls' became 's') due to an erroneous `slice(1)` operation, likely introduced during a previous merge. This change removes the slice, ensuring the full command is processed. - Introduces unit tests for the shellCommandProcessor hook. - Fixes a minor grammatical issue in the display of GEMINI.md file count.
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
-rw-r--r--packages/cli/src/ui/App.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx
index c07c623e..972f4522 100644
--- a/packages/cli/src/ui/App.tsx
+++ b/packages/cli/src/ui/App.tsx
@@ -348,7 +348,8 @@ export const App = ({
<Text color={Colors.AccentRed}>|⌐■_■| </Text>
)}
<Text color={Colors.SubtleComment}>
- Using {geminiMdFileCount} GEMINI.md files
+ Using {geminiMdFileCount} GEMINI.md file
+ {geminiMdFileCount > 1 ? 's' : ''}
</Text>
</Box>
)}