sindresorhus / pure

Pretty, minimal and fast ZSH prompt
MIT License
13.22k stars 977 forks source link

Doc Request: How to add & create new prompt status bits #686

Closed nicktimko closed 2 months ago

nicktimko commented 2 months ago

If I want to create an additional snippet and add it to my prompt status, like the Git branch and other info, are there docs about doing so?

Is there a way without patching the changes it into the pure.zsh file (i.e. some sort of extension/plugin facility)?

mafredri commented 2 months ago

It’s currently not possible without modifying Pure. It’s something we’re interested in supporting, however, see https://github.com/sindresorhus/pure/issues/460.

I’m closing this as a duplicate.