端末を開くときに自動的にコマンドの実行を停止する方法は?

端末を開くときに自動的にコマンドの実行を停止する方法は?

端末を開くと、以下が自動的に表示されます。

Last login: Thu Dec  8 10:54:34 on ttys001
/Users/user1/.zprofile:14: unmatched "
/Users/user1/.zprofile:14: unmatched "
/Users/user1/.zshrc:.:18: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:20: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:22: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:24: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:26: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:28: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:30: no such file or directory: /opt/homebrew/opt/asdf/libexec/asdf.sh
/Users/user1/.zshrc:.:32: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh
/Users/user1/.zshrc:.:34: no such file or directory: /opt/homebrew/opt/asdf/asdf.sh

これが起こらないようにするにはどうすればよいですか?私は以下を試しました。 rm -rf ~/.asdf/ これは私の.zprofileですが、ここに欠落している引用符が見つかりません。


# Setting PATH for Python 3.10
# The original version is saved in .zprofile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:${PATH}"
export PATH
eval "$(/opt/homebrew/bin/brew shellenv)"
eval "$(/opt/homebrew/bin/brew shellenv)"

# Setting PATH for Python 3.5
# The orginal version is saved in .zprofile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
eval "$(/opt/homebrew/bin/brew shellenv"
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
"~/.zprofile" 13L, 454B

関連情報