Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: My zsh prompt



On Thu, 23 Dec 2021 00:11:34 -0500
Lawrence Velázquez <larryv@xxxxxxx> wrote:

> On Wed, Dec 22, 2021, at 11:53 PM, Duke Normandin wrote:
> > prompt_kir.zsh => https://controlc.com/06817c16
> 
> Okay, the relevant bit is this --
> 
>     RPS1="%(?..%B%F{red}<%?>%f%b)"
> 
> -- specifically ''%?'', which is described in zshmisc(1).
> 
>     %?  The return status of the last command executed just before
>         the prompt.

Muchas gracias! Hopefully zshmisc has a list of those return
statuses. 
Thanks again and Feliz Navidad!!!
-- 
Duke
** Text only please. Bottom post is best. **


Messages sorted by: Reverse Date, Date, Thread, Author