News for hackers. Stuff that matters.
Re:fish-shell: the user-friendly command-line shell by 21eleven on Saturday August 26, 2023 @09:44AM (#37272847)
What I like about fish is that it provides a lot of nice-to-have ergonomic features from the get go without having to install plugins.

I add starship.rs to it and fzf integration but that's it.

Re:fish-shell: the user-friendly command-line shell by Kiro on Saturday August 26, 2023 @09:47AM (#37272877)
Why do you need starship.rs?
Re:fish-shell: the user-friendly command-line shell by dinckelman on Saturday August 26, 2023 @09:48AM (#37272886)
You don't need it. But it's just a really good, no-bullshit, customizable prompt, and you can use it with basically any shell you like, drop-in
Re:fish-shell: the user-friendly command-line shell by hiAndrewQuinn on Saturday August 26, 2023 @09:55AM (#37272966)
Yeah. I love the default starship and install it on every shell I use, currently PowerShell + fish + bash. It shows me all kinds of useful info like which k8s cluster I'm logged into, which AWS/Azure/GCP account, whether the current directory has uncommitted git changes...
Re:fish-shell: the user-friendly command-line shell by Kiro on Saturday August 26, 2023 @09:49AM (#37272897)
I think I misunderstand what "prompt" is referring to here. What is it?
Re:fish-shell: the user-friendly command-line shell by dinckelman on Saturday August 26, 2023 @09:53AM (#37272948)
When you open a new shell, by default it'll say something like `user@hostname: cursor`. Starship lets you change that to whatever you want, but out of the box it hides unnecessary information, and shows you stuff like the your language and package versions, if you're navigated into a git repo, for example. Take a look at it yourself, there's a lot you can do
Re:fish-shell: the user-friendly command-line shell by Zizizizz on Saturday August 26, 2023 @09:51AM (#37272916)
Re:fish-shell: the user-friendly command-line shell by mattgreenrocks on Saturday August 26, 2023 @11:22AM (#37273698)
Does it have async git checks yet?
Re:fish-shell: the user-friendly command-line shell by 21eleven on Saturday August 26, 2023 @01:59PM (#37275209)
Based on my experience opening a clone of the nixpkgs repo the other day... I don't think so :)
Re:fish-shell: the user-friendly command-line shell by wodenokoto on Saturday August 26, 2023 @12:18PM (#37274160)
Wouldn’t that also be the two things one would do in bash?
Re:fish-shell: the user-friendly command-line shell by 21eleven on Saturday August 26, 2023 @01:58PM (#37275187)
This is true. However I was calling out, wrt fish, the only two additional "plugin" type things I add in order to have a comfortable shell environment.

Fish conveniently provides history based autocomplete so I don't need to setup some plugin for that.