Starship: A minimal, fast, and customizable prompt for any shell
21–30 of 216 posts
Re: Starship: A minimal, fast, and customizable prompt for any shell
#22I like maximalist prompts, and indeed Starship is what Shell Bling Ubuntu [1] installs on a new dev machine. But they're not everyone's cup of tea. If I wanted to recommend to someone the min-maxed, highest density thing they could add to their prompt, it would simply be the time your current prompt appeared + the amount of time the last command you ran took. These two pieces of information together make it very easy…
For personal workstation, the current directory is enough. Maybe I change the color based the status of the last command. That’s pretty much the only information I need before entering any command. Everything else can be accessed when I really need it.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#23Re: Starship: A minimal, fast, and customizable prompt for any shell
#24Tried it. Not a fan. I find it unnecessarily fancy.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#25It would be nice to have a comparison and reasons to change from popular tools.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#26I found https://ohmyposh.dev/ works for me. There’s something about transient prompts that (at the time?) was a problem for starship. There are several other alternatives I’ve tried with meh results.
I've used Powerlevel10k for ages ( https://github.com/romkatv/powerlevel10k ), but it seems it's no longer actively developed / maintained. I think it's a lot cleaner, how I have it set up right now it shows some information like timestamp, Ruby versions, command runtime etc on the right side, whereas Starship shows it right at the prompt.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#27I like maximalist prompts, and indeed Starship is what Shell Bling Ubuntu [1] installs on a new dev machine. But they're not everyone's cup of tea. If I wanted to recommend to someone the min-maxed, highest density thing they could add to their prompt, it would simply be the time your current prompt appeared + the amount of time the last command you ran took. These two pieces of information together make it very easy…
For personal workstation, the current directory is enough. Maybe I change the color based the status of the last command. That’s pretty much the only information I need before entering any command. Everything else can be accessed when I really need it.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#28Earlier quoted context omitted.
For personal workstation, the current directory is enough. Maybe I change the color based the status of the last command. That’s pretty much the only information I need before entering any command. Everything else can be accessed when I really need it.
I like stuffing everything which might be important to the context window in there, personally. Saving 50ms on the prompt load sure beats a false negative when something goes wrong because I don't even think to ask whether I have the wrong Node version installed or something.
I found out that with this verify-and-forget step, I work much more efficiently.
As a result, my workflow becomes independent of the machine I work on, because I become the tool, not my setup. After that point, only having a "$" at the beginning of the line is enough.
Of course everyone have their own choices, and YMMV.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#29Re: Starship: A minimal, fast, and customizable prompt for any shell
#30I'm a long time user of https://github.com/ohmybash/oh-my-bash It would be nice to have a comparison and reasons to change from popular tools.