Hey, thanks for the report. This is a known issue and the team is already working on a fix.
The same error is being discussed in this thread: --: eval: line 1: unexpected EOF while looking for matching `)' --: eval: line 2: syntax error: unexpected end of file --: dump_bash_state: command not found. A few users shared details there. Main point: it doesn’t show up right away, it develops after using the agent for a long time.
For now, the only workaround is to restart Cursor when the terminal breaks. Some users tried cleaning up .bash_profile, but the issue still comes back after some time.
If you want to help with debugging, could you share:
- Your bash version:
echo $SHELLand$SHELL --version - Output of
echo $PATH - Whether you have any customizations in
.bashrcor.bash_profile
All the info is in the thread above, it’s already being discussed with other users there.