为什么我的iterm2显示这个以及如何删除它

问题描述 投票:0回答:0

每当我在 iterm2 中打开一个新选项卡或窗口或重新打开它时,它都会显示:

type hereLast login: Thu Mar  9 19:57:44 on ttys000
/Users/apple/.zprofile:1: no such file or directory: /opt/homebrew/bin/brew
/Users/apple/.zprofile:2: no such file or directory: /opt/homebrew/bin/brew
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
➜  ~

那么如何删除这 3 行以及为什么会出现。

在安装 home brew 后来到前两行,它显示在终端中运行 2 个代码,但作为初学者,我忽略了它,在看到 yt 视频时我注意到了它,然后我运行了这 2 个代码,我一定是因为它们...... 虽然在我尝试将插件安装到 oh my zsh 后显示第 3 行,但我使用 Homebrew 安装了它,然后再次检查并重新安装它并将它添加到 .zhsrc 文件中,但它显示..

帮帮我<3

macos terminal homebrew oh-my-zsh iterm2
© www.soinside.com 2019 - 2024. All rights reserved.