Live data from Hacker News

Starship: A minimal, fast, and customizable prompt for any shell

starship.rs

41–50 of 216 posts

Re: Starship: A minimal, fast, and customizable prompt for any shell

#41

Earlier quoted context omitted.

Why the timestamps are that important? Honestly asking. You can always time your commands with "time".

When you’re debugging, especially a complex system, especially during an outage or postmortem, understanding when your commands executed relative to when your log lines appeared is really helpful.

Oh, that's an interesting use case, alright.

Re: Starship: A minimal, fast, and customizable prompt for any shell

#42

Earlier quoted context omitted.

Why the timestamps are that important? Honestly asking. You can always time your commands with "time".

I personally use a modified zbell (in zsh) to give me a notification when a command finishes after 30 seconds, and send me an email if it takes over 2 minutes.

I generally use Konsole's "notify when program exits" feature. For longer tasks, I have a small tool which I pipe to, and it sends me push notification with the output (if I prefer).

Re: Starship: A minimal, fast, and customizable prompt for any shell

#44

Earlier quoted context omitted.

You don't need to know what branch you're on before running commands? I cant tell you the number of times ive been on the wrong branch executing stuff.

For me the AWS integration is nice. That way I know what account I'm on, and what region among my dozens of windows. For example: …/.config master on AWS_Prod (use2) starship.toml: [aws] format = 'on [($profile )(\($region\) )]($style)' style = 'bold #B23D2F' symbol = " "

Oh ya, for work the kubeconfig integration is absolutely essential, i bounce between local clusters and shared nonprod clusters all the time and while its not an outage to break the nonprods its going to annoy a lot of people so its nice to know which one is active.

Re: Starship: A minimal, fast, and customizable prompt for any shell

#46
post #26

Earlier quoted context omitted.

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.

Same here, that's what prompted my search. I felt I could get closest with oh-my-posh.

That was the same thing that drove me to find an alternative and I also landed on ohmyposh specifically because starship lacked the transient prompt.

Re: Starship: A minimal, fast, and customizable prompt for any shell

#48

Atuin and Starship the same Day on place 1? Next zellij :)

I can't imagine interacting with computers without fzf, zoxide and nix anymore; everything else feels relatively inconsequential

Wondering if there are any other life-changing tools I'm missing out on...

Re: Starship: A minimal, fast, and customizable prompt for any shell

#49
post #15

every time your shell takes 100ms to render git status that you didn’t even need, you're paying invisible tax on flow. terminals should be reactive memory tools, not passive decoration. we optimize for code runtime but not for our own typing latency

If you're used to, say, VS Code or the GitHub online editor where the lag between pressing a key on the keyboard and a corresponding character appearing on the screen can be on the order of tens of thousands of milliseconds, then 100 ms will seem like lightning.
Post reply on HN