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

Re: My zsh prompt



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.

-- 
vq




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