Unable to disable a startup message in Zsh

I get the following when I start my 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)

It seems to be set by some theme file, since the same text is here.

How can you disable the notification in Zsh?

Upvotes: 0

Views: 1979

Answers (2)

gacrux
gacrux

Reputation: 960

You'll want to search through the files that zsh loads on startup, here is a list from their documentation

Look for a misconfigured prompt command line and try commenting it out or better fixing it.

Upvotes: 0

sykloid
sykloid

Reputation: 101316

This isn't a startup message. It's the error/default help message displayed when the prompt command is used without arguments or erroneous arguments. Find out where you're using it, and fix/delete it.

Upvotes: 3

Related Questions