3

I know how to look up commands with the man command. When looking at other people's .zshrc files, I see what I think are builtin variables (PROMPT, RPROMPT, etc.). Where might I learn more about these? I'm running MacOSX Lion.

3

Answering directly to your question title:

Yes, there is: The prompt variables are listed in the PARAMETERS USED BY THE SHELL section of man zshparam.

The prompt escape sequences are explained in the SIMPLE PROMPT ESCAPES section of man zshmisc.

If you don't know in which man page you find the desired information, you can use man zshall.

  • Indeed. These man pages have everything I was looking for - and more! – bholben Nov 8 '14 at 17:02
2

Here are a few online references to resources regarding zsh and prompts:

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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