Hidden Files Not Detected: ls Fails to List Dot Files and Directories
Resolved 💬 3 comments Opened Aug 2, 2025 by wdelhagen Closed Aug 15, 2025
Bug Description
Claude uses ls to search the filesystem, which means it often misses hidden files and folders. Hidden files and folders are not only common, they are built-in elements of the Claude Code system (e.g. .claude/ folder) Claude should use ls -la by default
This is also a problem with the @ file/folder reference. It doesn't include hidden files and folders in the auto-complete.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.67
- Feedback ID: de7c1362-a531-4e4d-94dd-8af6677dd407
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/willd/code/applicant-filter │
╰───────────────────────────────────────────────────╯
※ Tip: Press Shift+Enter to send a multi-line message
> Look in the .claude directory
⏺ I'll look in the .claude directory to see what's there.
⏺ List(.claude)
⎿ Listed 2 paths (ctrl+r to expand)
⏺ The .claude directory doesn't exist. Let me check if there are any hidden directories or files at the root level:This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗