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

Re: My zsh prompt



On Wed, Dec 22, 2021, at 11:04 PM, Duke Normandin wrote:
> Everything working OK!
> Just curious about:
>
> [prompt]
> ┌─(~)───────────────────────────────────────────(dnormandin@antixbox)─
> └─›                                                           <130>
> [/prompt]
>
> The <130> at the right of this prompt. What is that? Total commands
> for the session?

Without context or code, no one can tell you how your own prompt
works.  Presumably you got it from a framework or plugin system or
code you copypasted from the Web.

As an educated guess, it sure looks like $?.  Try running some
commands and observing how it changes.

-- 
vq




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