[BUG] bash mode: autocomplete script filename corrupts command
Resolved 💬 3 comments Opened May 20, 2025 by nitsanavni Closed Jan 4, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.122
- Operating System: macOS 15.4.1
- Terminal: iTerm2 + tmux
Bug Description
script filebname tab auto-complete remove the ./ prefix
Steps to Reproduce
- try to type this with hitting tab for auto-complete the script filename:
!./my_script.sh
- and we get this:
!my_script.sh
which of course doesn't execute the script
Expected Behavior
!./my_script.sh
Actual Behavior
!my_script.sh
Additional Context
n.a.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗