[Bug] Shell snapshot duplicates hyphens in alias names causing tool errors
Resolved 💬 3 comments Opened Jan 19, 2026 by placer14 Closed Jan 19, 2026
Bug Description
The shell snapshot feature does not correctly handle aliases with - ~in the name~ in the command. The snapshot tool seems to duplicate the hyphens which cause the bash tool to report errors despite running successfully below the error. This has misled the agent on a few occasions. Removing the alias resolved the problem. Example: alias -- -='cd ..'. I introduce this alias via .bashrc but I believe the alias source to be unrelated.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.12
- Feedback ID: 31e8f344-a63c-41ab-a7da-0e54ece26c1c
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗