Cursor logs a new line on terminal start since upgrading to 1.0

Specs: MacOS Sequoia 15.5 / Cursor 1.0 / oh-my-zsh

Issue: Since upgrading to 1.0, Cursor logs a new line to terminal on startup which triggers a .zsh warning

Inside the file that’s pointed out

# ---------------------------------------------------------------------------------------------
#   Copyright (c) Microsoft Corporation. All rights reserved.
#   Licensed under the MIT License. See License.txt in the project root for license information.
# ---------------------------------------------------------------------------------------------
builtin autoload -Uz add-zsh-hook is-at-least
# I believe this line is causing the problem but the file is generated so modifying it doesn't change anything
echo "$(ls -ld "$ZDOTDIR")" # Prevent the script recursing when setting up
if [ -n "$VSCODE_SHELL_INTEGRATION" ]; then
	ZDOTDIR=$USER_ZDOTDIR
	builtin return
fi

Is there something I can do to prevent that line from showing? I can also disable that warning but I’d rather get rid of the annoying line when I start the terminal

1 Like

Hi @theolavaux and welcome to Cursor Forum.

Thank you for the detalied bug report and checking the script itself.

The Cursor Team is aware of this extra line output and the fix will be released in the next update or short after that.

You could comment out that line with the echo temporarily if you do want to get rid of the line. Though this is not a real fix.

1 Like