Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got zsh 5.0 installed via brew on OS X Mountain Lion.

I used something to set up this lovely value for PROMPT:

%B%F{yellow}%K{yellow}%{█▓▒░%}%B%F{white}%K{yellow}%n@%m%b%F{red}%K{yellow}%{░▒▓█%}%b%F{red}%K{black}%{█▓▒░%}%B%F{white}%K{black} %D{%a %b %d} %D{%I:%M:%S%P} %}%B%F{yellow}%K{black}%~/%b%f%k

However, there is no setting for PROMPT in my .zshenv, .zshrc, .zlogin, or the files in /etc.

I have a rather vague memory that I might have installed some addon that has something to do with this, but I cannot recall what. None of my . files seem to contain the setting.

is there an option to zsh that will cause it to reveal what it is reading when it starts up?

share|improve this question

2 Answers 2

The answer turned out to be:

prompt fire

which sets PROMPT.

share|improve this answer

It looks like you have some zsh sugar (like oh-my-zsh) installed. Check for ZSH=… in your .zshrc and if it’s set it gives you the clue where to find your PROMPT.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.