Live data from Hacker News

Starship.rs: minimal, fast prompt for any shell

starship.rs

131–140 of 160 posts

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

#131

My interactive shell experience has substantially improved after installing Starship. :) The other thing was changing from Bash to Fish.

I love Fish, but I cannot for the life of me to get Starship working well.

Trying to get it working on WSL (Ubuntu 20.04 and Centos) as well as MSYS just wasn't happening. On the few occasions I did get it working, it was unbearably slow. Simple commands would have sometimes half a second of delay. I could time what was causing the slowdown and disable some of it, but by the time I got it bearable I had disabled basically all of Starship. Then there were font-related issues on top. Ugh.

I hope others have a better experience than I.

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

#132

Earlier quoted context omitted.

What exactly should the takeaway be? Stop making things in Rust because people on HN will complain?

No, don't stop. But it's an interesting observation, don't you think? Why is it that just by adding "... in Rust" you can almost guarantee that people will roll their eyes and think "oh, not another one". Other languages do not carry such stigma, why does Rust have such reputation?

Completely guessing, but the thought comes to mind that Rust was (still is? I don't keep up these days) portrayed as The C Killer. So to specify "written in Rust" was to imply "I wrote something low-level without C/C++" or "I rewrote Popular C Tool in Rust" in the name of memory safety.

This is all wild speculation on my part, so please take it with a large grain of salt. I welcome alternative explanations or experiences.

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

#133
post #58

Am I the only one who is getting tired of "It's X in rust" type projects? It's making me dislike the community. Rust is not a user feature, it's an implementation detail.

I started thinking like that, but the general high quality and innovatio. of the various things rewritten in Rust has made me reconsider.

I think it has become a significant user feature.

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

#134
So now I need to install nerd font and this software on all clients' machines and VMs and whatnot. Asking IT departments for permission and waiting for compliance check.

Or should I do it only on toy machines, risking different experience between them and production.

No, thanks. Plain bash will suffice. Just like it did for so many years.

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

#135

So now I need to install nerd font and this software on all clients' machines and VMs and whatnot. Asking IT departments for permission and waiting for compliance check. Or should I do it only on toy machines, risking different experience between them and production. No, thanks. Plain bash will suffice. Just like it did for so many years.

Starship works pretty well without nerdfonts, BTW.

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

#136
post #22

I’m probably on the wrong side of history, but I just don’t like how much color there is in modern cli tools. It is distracting

Well, in most casees you can configure it and back in all black and white\green if you want to. Having 8 (or more) colors help when dealing with information though, at least when you need to get a quick result and not just dig into the man pages.

I’ve mostly done that, though some apps use one color for foreground and another for background, where it doesn’t work.

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

#137

Earlier quoted context omitted.

I can honestly say that has never once been a problem I have had, and I've had git information in the prompt for over 10 years. Also how is "enter" less convenient than literally any other command that you'd still have to type and run to get up-to-date information in a command line?

> I can honestly say that has never once been a problem I have had, and I've had git information in the prompt for over 10 years. What do you mean exactly? Are you saying it doesn’t get out of date? i.e. you never change the state of the repository outside of your terminal session? I don’t think that’s reflective of how most people work. Are you saying that it gets out of date but that doesn’t matter? If that’s the c…

> Are you saying it doesn’t get out of date? i.e. you never change the state of the repository outside of your terminal session? I don’t think that’s reflective of how most people work.

That's what I do, I use git directly for trivial stuff and lazygit for more complex stuff, both inside the terminal.

> Space and attention are at a premium in a terminal window; you can’t just dump all the information available to you in there for free.

That's true. I've tried "absolutely nothing except %", "very long and fancy prompts" and the current directory (often aliased), the current git branch and % is what works well for me.

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

#138
post #58

Am I the only one who is getting tired of "It's X in rust" type projects? It's making me dislike the community. Rust is not a user feature, it's an implementation detail.

"X in Rust" to me mean that I won't have to fiddle with it when installing it and it'll work out of the box. This isn't unique to Rust, Go does this very well too. It'll also be reasonably fast, not just because of the language, but because the community likes performance. For example, a few years ago I tried the tldr command. It was in Node.js and unbearably slow. There was a Rust implementation, tealdeer, that was way faster.

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

#139
post #58

Am I the only one who is getting tired of "It's X in rust" type projects? It's making me dislike the community. Rust is not a user feature, it's an implementation detail.

Am I the only one who is getting tired of comments complaining about people put “written in Rust” in the title? Lately every post having “written in Rust” has a comment like this.

If you don’t care, ignore it. Why should it bother you so much?

Post reply on HN