From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Duke Normandin" <dukeofpurl@gmx.com>
Cc: zsh-users@zsh.org
Subject: Re: My zsh prompt
Date: Thu, 23 Dec 2021 00:11:34 -0500 [thread overview]
Message-ID: <963db017-2373-44d2-8daa-3df2410e53be@www.fastmail.com> (raw)
In-Reply-To: <20211222215347.6316899d57a34966976ef127@gmx.com>
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
next prev parent reply other threads:[~2021-12-23 5:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-23 4:04 Duke Normandin
2021-12-23 4:40 ` Lawrence Velázquez
2021-12-23 4:53 ` Duke Normandin
2021-12-23 5:11 ` Lawrence Velázquez [this message]
2021-12-23 5:18 ` Duke Normandin
2021-12-23 6:28 ` Lawrence Velázquez
2021-12-23 20:26 ` Daniel Shahaf
2021-12-23 20:46 ` Duke Normandin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=963db017-2373-44d2-8daa-3df2410e53be@www.fastmail.com \
--to=larryv@zsh.org \
--cc=dukeofpurl@gmx.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).