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

Re: Rewrite of zsh-newuser-install



On 2/7/21 12:10 PM, Marlon Richert wrote:

- Inline the prompt definition instead of using promptinit. This makes it much easier for users to customize prompt. Abstractions are a serious barrier for beginners.

prompinit is one of those autoloadable functions that in theory feel
like a very good idea, but feels like abandonware in practice. I would
love for it to get the same amount of care as compinit does, but as it
stands, it really doesn't do much at all.

Just to nichepick, the completion system is largely as static as the prompt system.
The part of the completion system that is usually worked on, is the definitions for commands,
which the equivalent for the prompt system would be prompts. how either of them work in general,
rarely changes.

it may /feel/ like abandonware since users don't create prompts using it often, whether they
know it exists at all, are just used to setting PS1 like in other shells or something else.

ironically enough, stuff like powerlevel10k pretty much create their own prompt system just to
configure their sole prompts.





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