터미널을 열 때 자동으로 명령이 실행되는 것을 중지하는 방법은 무엇입니까?

터미널을 열 때 자동으로 명령이 실행되는 것을 중지하는 방법은 무엇입니까?

터미널을 열면 다음이 자동으로 표시됩니다.

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

관련 정보