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