sindresorhus / pure

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

Add config option to omit leading new line #526

Closed flats closed 4 years ago

flats commented 4 years ago

Per https://github.com/sindresorhus/pure/issues/509, this adds an option to omit the new line before the prompt.

sindresorhus commented 4 years ago

Sorry, not interested in this. Pure is an opinionated prompt. I would recommend Spaceship if you need a lot of customizability: https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Options.md#prompt ;)

romkatv commented 4 years ago

I would recommend Spaceship if you need a lot of customizability: https://github.com/denysdovhan/spaceship-prompt/blob/master/docs/Options.md#prompt ;)

The easiest alternative would be powerlevel10k given that it can generate exactly the same prompt as Pure. It also has several customization options for Pure style in its configuration wizard, and this includes the option to remove empty lines. See https://github.com/romkatv/powerlevel10k/blob/master/README.md#pure-compatibility.