5 ms·
The starship prompt is astoundingly good value-for-effort. https://starship.rs/ https://starship.rs/ It's very feature-rich, showing suitable context for a va
by rgoulter 5y ago
The starship prompt is astoundingly good value-for-effort.
https://starship.rs/ https://starship.rs/
It's very feature-rich, showing suitable context for a variety of tools, and can be customised if the defaults don't provide the information you're after.
- wodenokoto 5y agoThe website says it’s feature rich. Do they have a list of features? Is there any reason why a prompt is written in rust?
- rgoulter 5y agoI'd take a look at the headers under the configuration options. (e.g. AWS, Git, Python, Status). https://starship.rs/config/ https://starship.rs/config/ > Is there any reason why a prompt is written in rust? The prompt program supports a bunch of different shells. I imagine that's going to be easier to maintain in Rust than in bash.
- 3836293648 5y agoShell is kinda awful to write, so people started using python, which is too slow for this (just the startup times...), so they moved to rust
- avgcorrection 5y agoThe question “Why isn’t this written in Rust” is ridiculous and a distraction but “why is […]” is even moreso.
- diroussel 5y agoStarship.rs is great. It has the red prompt feature mentioned in TFA by default. And it’s fast. And means I can easily have the same prompt in bash and zsh, on macos and Linux.