--: eval: line 1: unexpected EOF while looking for matching `)' --: eval: line 2: syntax error: unexpected end of file --: dump_bash_state: command not found

Hey, thanks for the report. This is a known issue with the agent terminal. We’ve seen a few similar reports with the same eval/dump_bash_state errors.

Related threads:

The team is working on a fix, but we need a bit more info to debug:

  1. Which shell are you using, bash or zsh? You can check with: echo $SHELL and $SHELL --version
  2. Do you have any customizations in .bashrc or .zshrc like complex prompts or functions?
  3. Can you check your PATH? Run echo $PATH and share the output. We’re especially interested if it includes any directories with parentheses
  4. Try running Cursor with a clean shell config by temporarily renaming .bashrc or .zshrc. Does the issue still happen?

If you can catch the moment when the terminal starts breaking, a screenshot showing the sequence of commands right before the error would also help.

1 Like