tags:

views:

114

answers:

2

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?

+1  A: 

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.

sykora
Masi
You're trying to use a prompt, but the definition of that prompt isn't there because you haven't installed/written them. So prompt doesn't know how to use them, hence the error.
sykora
A: 

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.

gacrux