Agent interaction with the terminal is broken

Hey! :waving_hand:

I faced a very similar issue on MacOS 26.0 — the command runs fine in the terminal, but Cursor Agent never proceeds or generates a follow-up. If you’re using a custom shell setup (like oh-my-zsh, a modified .zshrc, or anything that alters shell behavior), that could be interfering.

Quick question:

Are you using oh-my-zsh or any customized .zshrc or .bashrc config?

In my case, the fix was simply adding this line to the top of my .zshrc:

if [[ "$TERM_PROGRAM" == "vscode" ]] || [[ "$TERM_PROGRAM" == "cursor" ]]; then
  return
fi

It prevents any complex shell configs from loading only when Cursor is executing agent commands, and it completely solved the issue.

Let me know your setup — happy to help tailor a fix.

2 Likes