Zsh: command not found: q

Describe the Bug

Everytime the agent tries to run a command, there’s always a pause, and when I skip it, I get this error:

q
zsh: command not found: q

Steps to Reproduce

I’m on a MacOS if that matters. I’m just using Agent mode and chatting away and then when it thinks it needs to run a terminal, that’s where I get the issue. That means I always have to skip, and then get that error so that the agent can continue.

Expected Behavior

It should pause and display that error.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.0.0 (Universal)
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:39.410Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

The same issue, also at version 1.0.0. It’s not agent anymore. I think I am a agent of the cursor agent for click the skip button

1 Like

AI Assistant Terminal Commands Never Auto-Complete · Issue #3215 · getcursor/cursor · GitHub try this, it worked for me

I posted my solution to this in this thread, it appears to work

1 Like