0

当我启动我的 Zsh 时,我得到以下信息。

Usage: prompt <options>
Options:
    -c              Show currently selected theme and parameters
    -l              List currently available prompt themes
    -p [<themes>]   Preview given themes (defaults to all)
    -h [<theme>]    Display help (for given theme)
    -s <theme>      Set and save theme
    <theme>         Switch to new theme immediately (changes not saved)

它似乎是由某个主题文件设置的,因为这里有相同的文本。

如何在 Zsh 中禁用通知?

4

2 回答 2

2

这不是启动消息。prompt这是在不带参数或错误参数的情况下使用命令时显示的错误/默认帮助消息。找出你在哪里使用它,然后修复/删除它。

于 2009-05-08T08:14:35.310 回答
0

您需要搜索 zsh 在启动时加载的文件,这是他们文档中的列表

查找配置错误的提示命令行并尝试将其注释掉或更好地修复它。

于 2009-05-08T08:43:50.153 回答