(no title)
FrenchTouch42 | 1 month ago
Configuration is straightforward and easy imo: https://starship.rs/config/
Give it a spin, I think you won't regret it.
FrenchTouch42 | 1 month ago
Configuration is straightforward and easy imo: https://starship.rs/config/
Give it a spin, I think you won't regret it.
CjHuber|1 month ago
Only drawback is that it's not POSIX, no issue for me, but maybe for people who have a lot of muscle memory with bash.
tmsbrg|1 month ago
Later I found fizsh, which I love and still use as default shell now. It's basically a configuration around zsh adding the colors, completions, and other good stuff inspired by fish to zsh. Can really recommend it for those who are used to zsh or bash but want their CLI to be more readable. Colors especially help with big command line arguments to show where they start and end, and keeping track of complex stuff like loops and conditional logic in your commands.
Hammershaft|1 month ago
ratorx|1 month ago
Fish is nicer to script in by far, and you can keep those isolated with shebang lines and still run Bash scripts (with a proper shebang line). The only thing that’s tricky is `source` and equivalents, but I don’t think I’ve ever needed this in my main shell and not a throw-away sub shell.
chrysoprace|1 month ago
Fnoord|1 month ago
First, there are some ways to make fish more compatible with bash.
If you want to do some shell scripting in fish, or running other people's shell scripts (or commands) this may aid you since you wouldn't have to port them (or take less time to port them over).
You can achieve this with a plugin system such as 'oh my fish' or 'fisher'. But, as always, it adds complexity (and bloat :P), you'll need it on every fish shell (including remote systems), etc.
It is a bit akin to having nvim with plugins versus being able to use vi. Sometimes, you're going to need to be able to use the latter.
Also, to people who recently adopted fish: fish has been made more and more compatible with bash throughout those years.
FWIW, I use fish with starship these days.
totetsu|1 month ago
normaler|1 month ago
Zarel|1 month ago
https://starship.rs/presets/gruvbox-rainbow
You can see that when the segments are empty, they still appear as a 1-width segment, rather than entirely disappearing.
It also makes you configure many things by hand. powerlevel10k has an interactive wizard that lets you design your prompt one option at a time (do you want a nerd font? do you want it one line or two? etc) but Starship makes you manually write escape codes if your preferences don't match one of the presets.
No judgment, but I do wonder what people like about Starship that makes up for these things.
dagi3d|1 month ago
arendtio|1 month ago
After installing and adding it to my bashrc, I was wondering was those version numbers and cloud symbols meant. Turns out: Since NodeJS and Python were installed, it found a good idea to print the respective versions. I could not care less about those versions. The other part was that it thought that I would like to see my AWS region. Well, I mean, I have built something with AWS a few years back, and the config file for that still exists, but no, I don't want to see that region every time I open a shell. Finally, the default is to have the prompt in a new line. I think when you have a long prompt that makes sense, and it might also be a taste thing. However, the documentation has this example at the beginning about newlines:
So I thought `add_newline = false` should do the trick, but it didn't.Luckily, the AI (GPT-5.2) was pretty good at explaining and giving instructions for changing things. So after 30 minutes, everything was understood and configured to my liking. I like the result, but the default was pretty weird.
mirzap|1 month ago
wolletd|1 month ago
I don't know if starship is still using Zle. If so, this should be possible to configure without OMZ.
seanhunter|1 month ago
coaksford|1 month ago
dagi3d|1 month ago
verdverm|1 month ago
Nice history, command auto complete, and similar beyond just the looks, out of the box
rofrol|1 month ago
"Transient prompt, when enabled, replaces the prompt with a simpler one to allow more screen real estate." https://ohmyposh.dev/docs/configuration/transient
Here is my config for oh-my-posh https://github.com/rofrol/dotfiles/blob/master/.config/oh-my...
baby|1 month ago
inapis|1 month ago
sandreas|1 month ago
nine_k|1 month ago
cdrnsf|1 month ago
shimman|1 month ago
sigwinch|1 month ago