Re:fish-shell: the user-friendly command-line shell
by BeFlatXIII on Saturday August 26, 2023 @10:09AM
(#37273097)
What are your use cases for starship? It looks interesting but I think I'm missing the imagination necessary to use it to its full potential.
[ Parent
| on HN ]
Re:fish-shell: the user-friendly command-line shell
by natebc on Saturday August 26, 2023 @10:35AM
(#37273294)
Big one for me was out of the box support for showing current kubernetes context. Very helpful if you work in multiple kubernetes clusters and in particular if you move around namespaces helping others.
Doable with configuration and either lots of work or plugins in other shells but the combo of fish + starship.rs offers a lot for little setup.
Re:fish-shell: the user-friendly command-line shell
by Cu3PO42 on Saturday August 26, 2023 @10:35AM
(#37273293)
I also use starship with barely any custom config (like fish). It shows me the environment I'm in for a project, including which versions of tools are active and which server I'm currently connected to (if any). And it looks pretty enough.
Re:fish-shell: the user-friendly command-line shell
by theshrike79 on Saturday August 26, 2023 @10:33AM
(#37273280)
The use case for me is a prompt that Just Works. No need to hack $PS1 or anything else, I just install it and everything works.
There are some optional bits for more niche things (like laptop battery) you can enable with a config file, but it’s not necessary.
Re:fish-shell: the user-friendly command-line shell
by lolinder on Saturday August 26, 2023 @11:03AM
(#37273521)
I use starship with zsh. The biggest value is showing the current environment for any project without any config. Shows the active node version, Python venv, k8s context, all without having to think about it.
The other day an AWS command was rejected with a generic 403 error and at a glance realized I'd forgotten to switch the default profile—without starship I suspect I would have spent a while troubleshooting my SSO login instead of just switching profiles.