Live data from Hacker News

Starship.rs: minimal, fast prompt for any shell

starship.rs

11–20 of 160 posts

Re: Starship.rs: minimal, fast prompt for any shell

#11

Is this like a competitor for power10k type stuff and zsh? What makes this "infinitely customizable" aside from being turing complete? I don't see anything but ... a prompt.

Maybe read through the documentation and try it out. It has very robust configuration options, many pre-built modules that are ready to include in your prompt, for example, one that prints git info for the current location if it's a repository.

So yes, it is kind of a competitor to p10k, but not zsh. It's just the prompt, and it just focuses on being a very good prompt tool.

Re: Starship.rs: minimal, fast prompt for any shell

#12

Installed it yesterday and it threw my email and AWS default region on to the prompt. Pretty bad defaults. Promptly removed it.

I had a similar reaction to the out of the box config. However after spending a little bit of time with the doc, I turned off all the useless stuff like my docker version and but left stuff like git branch, status, exit code, etc.

Re: Starship.rs: minimal, fast prompt for any shell

#14

Is this like a competitor for power10k type stuff and zsh? What makes this "infinitely customizable" aside from being turing complete? I don't see anything but ... a prompt.

Maybe read through the documentation and try it out. It has very robust configuration options, many pre-built modules that are ready to include in your prompt, for example, one that prints git info for the current location if it's a repository. So yes, it is kind of a competitor to p10k, but not zsh. It's just the prompt, and it just focuses on being a very good prompt tool.

Yeah, it's just a prompt replacement that does all the things that your prompt already does, but it's written in Rust.

Re: Starship.rs: minimal, fast prompt for any shell

#19

It’s too bad this requires a Nerd font to be installed according to the landing page. I just don’t think that belongs in a terminal emulator and it should be optional

The homepage is somewhat misleading, you can use it without Nerd Fonts and there's actually a preset config listed for it mentioned on the Presets page [0] with the note:

> This preset will become the default preset in a future release of starship

It also links to an open issue on the GH repo about it [1] (although that issue is 2 years old and doesn't seem to be top priority.)

[0]: https://starship.rs/presets/#nerd-font-symbols

[2]: https://github.com/starship/starship/pull/3544

Re: Starship.rs: minimal, fast prompt for any shell

#20
post #3

Starship's an excellent prompt replacement. I think it goes well with the fish shell: it's much nicer than the default, without requiring customisation.

Maybe it can turn into the default prompt as a library dependency after the Rust rewrite, but the rust rewrite needs to rollout before thinking too far ahead.
Post reply on HN