Starship: A minimal, fast, and customizable prompt for any shell
191–200 of 216 posts
Re: Starship: A minimal, fast, and customizable prompt for any shell
#192Earlier 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.
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.
I’m a researcher and work on small projects with 1-3 people (most of the time it’s just me prototyping stuff alone). I then tend to work on a branch for weeks at a time, so the git branch provides very little information compared to the space it takes in a prompt.
If I was switching branches every 5min, it would be useful.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#193I know Starship isn't zsh specific but I guess its tangentially related, does anyone know what the default zsh config is on MacOS? I got quite used to it, and now I'm on linux I'd like to replicate it. The closest I've got is using the eastwood theme on oh-my-zsh but it's not quite the same (I dont even think MacOS using oh-my-zsh out the box, but its got all the nice git stuff)
/etc/zsh: https://pastebin.com/kjwQ97z1 /etc/zshrc_Apple_Terminal: https://pastebin.com/kfKF5ych
Re: Starship: A minimal, fast, and customizable prompt for any shell
#194Earlier quoted context omitted.
I'm highly aware of which branch I'm on. Because it's because I don't use any scripts or automation that switches branches; I only ever switch branches manually so I have that awareness.
I only switch branches manually too, but I work in many repos and come back to stuff after days sometimes.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#195I would be very curious to see an age demographic chart of people using e.g. Starship. Personally, over time, I have stopped caring too much about prompt customization. I concluded that, no matter how carefully you curate your prompt, 90% of the information shown will be irrelevant 90% of the time*. After a while, your brain will start perceiving this as visual clutter and filter it out, to the point you may even for…
A few years ago I progressed to having the current directory in there.
The thought of running a child process to create my prompt every time I hit enter doesn't feel right.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#196I would be very curious to see an age demographic chart of people using e.g. Starship. Personally, over time, I have stopped caring too much about prompt customization. I concluded that, no matter how carefully you curate your prompt, 90% of the information shown will be irrelevant 90% of the time*. After a while, your brain will start perceiving this as visual clutter and filter it out, to the point you may even for…
> Personally, over time, I have stopped caring too much about prompt customization. For a while, I tried a couple of Christmas tree prompts which included all kinds of condensed Git status and other bells and whistles, but eventually tired of them and settled on: - Exit status of the previous command, if nonzero. - Current time, HH:MM, 24 hour format. - user@host, red if euid 0, green otherwise. - Current directory,…
Re: Starship: A minimal, fast, and customizable prompt for any shell
#197I would be very curious to see an age demographic chart of people using e.g. Starship. Personally, over time, I have stopped caring too much about prompt customization. I concluded that, no matter how carefully you curate your prompt, 90% of the information shown will be irrelevant 90% of the time*. After a while, your brain will start perceiving this as visual clutter and filter it out, to the point you may even for…
I hope to not age out of trying out new tools other people like!
I should know what git branch I'm in, and if I don't it's a simple command away.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#198Earlier quoted context omitted.
Same here, I also find that aliases for speed introduce unnecessary complexity and mental overhead later on. It's not much, and for other people it doesn't matter or they have a different preference, but that's what I prefer. Sort of contrary to that I really enjoy the maximalist shells. A computer should be fun to use!
I don't use aliases, but abbreviations that expand to the actual full command. Helpful to type less and history has the exact.
Re: Starship: A minimal, fast, and customizable prompt for any shell
#199With or without starship, one problem I have with zsh prompts is that when I press Enter, there is still a visible delay where for a fraction of a second, the cursor moves to the beginning of the next line. This makes a nasty "flashing" effect. If I keep Enter pressed, the cursor is permanently visible at offset 0 in the lowest line. If the prompt is ultra-fast (e.g. plain root shell prompt on zsh), it happens less (…
Re: Starship: A minimal, fast, and customizable prompt for any shell
#200I used to use Starship awhile ago, switched to powerlevel10k. Trying to figure out if there's any thing there for me to want to try starship again? I remember powerlevel10K was really easy to get going.....