Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Starship allows empty segments, I in this specific case it's just how the preset/theme works as it uses the Unicode character as separator and it needs to set the background and foreground colors depending on which modules is surrounded by




Every preset with powerlevel10k-style segments don't support hiding empty segments. Look at Pastel Powerline, Tokyo Night, Gruvbox Rainbow, Catppucin Powerline...

https://starship.rs/presets/#pastel-powerline

I tried making my own and the config TOML syntax isn't expressive enough to support hiding empty segments.

You're right that it's the thing with the Unicode character as separator, which all the alternatives handle just fine: powerlevel10k, tide, oh-my-posh... it's just everyone seems to love Starship, and that's what confuses me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: