The starship prompt is astoundingly good value-for-effort.
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.
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.
Is there any reason why a prompt is written in rust?
> 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.