Every time I open a new terminal in Cursor, I see this output:
drwx-----T@ 6 myuser staff 192 May 30 12:21 /private/var/folders/93/.../T/myuser-cursor-zsh
Root Cause:
Line 8 in Cursor’s temporary shell integration file contains:
echo "$(ls -ld "$ZDOTDIR")"
This appears to be a debug/diagnostic line that was accidentally left in and should not be visible to users.
Location:
/private/var/folders/.../T/myuser-cursor-zsh/.zshrc:8
Environment:
Cursor Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:22.523Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: macOS 14.5.0 (Darwin arm64 24.5.0)
Expected: No diagnostic output visible to users
Actual: Directory listing appears on every new terminal