-
Notifications
You must be signed in to change notification settings - Fork 877
Open
Labels
@flankard
Description
Describe the bug
Bug Report: ls -la command output not displaying for subdirectories
When using the ! prefix to run shell commands, ls -la returns an empty box with "No changes detected" instead of showing the actual file listing.
What works correctly:
- !ls .github/instructions - displays files as expected
- !ls -la .github - displays files as expected
- !ls -1 .github/instructions/*.md - displays files as expected
What fails:
- !ls -la .github/instructions - shows empty output
This suggests the issue is specifically with the -la flags when used on nested subdirectories.
Environment:
- Copilot CLI version: 0.0.374
- OS: macOS (Darwin)
- Directory tested: .github/instructions (contains 10 .md files)
This appears to be a UI rendering issue rather than command execution failure.
Affected version
0.0.380 Commit: 39ff7b7
Steps to reproduce the behavior
- Navigate to a directory with subdirectories containing files
- Run: !ls -la .github/instructions
- Observe empty output box or "No changes detected" message
Expected behavior
Expected behavior: Should display the detailed file listing with permissions, ownership, dates, etc.
Actual behavior: Empty box or "No changes detected" message appears, even though files exist in the directory.
Additional context
No response