Spyke
jlai.lu

I used to use fish but I don't like their weird scripting language. I want my shell to be POSIX compliant.

4
lemmy.blahaj.zone

Basically every non-Windows system comes with a POSIX-compliant shell at /bin/sh. If you're using shebangs in your POSIX shell scripts like you should, using Fish as your Friendly Interactive Shell shouldn't be a problem.

11

even if it was... you can just run bash or /bin/sh and then run the script there. It's not you can't shell into a different shell to run a script. you lose nothing.

1

Not being POSIX is one of its main selling points. If you want POSIX, you're not the target audience

15

zero downsides and all upsides? like, zsh with plugins is just fish out of the box. I used zsh for a long long time (and several other shells), but with the plugins you want to have you immediately hit long loading times to actually start your shell. and then when it's finally loaded it's still a worse experience than fish.

2
piefed.zip

As a ux/ui nerd for me its mostly that its a very thoughtful user experience. I have been more or less good at the terminal at different points in time, but if you don't spend much time there its easy to forget every command and how to do things. And ultimately, I don't really enjoy using it as an interface. Its a blank void with little to nothing in the way of affordances-- remember the magic words and you can do anything. But the fact its only used by technical folks means often no one cares to add affordances or ease of use even when it might be possible, and when they do its from a power user perspective.

Fish feels like a much more thoughtful execution of how to interact with a command line interface, and doesnt require a ton of time spent in a terminal to achieve that better ux. Though I still want to set up a nice prompt that improves legibility and make things a bit easier still, I just haven't played with starship enough yet.

There are more things I'd wish for in a perfect world, but for me fish is a very nice step in the right direction :)

4
rozodrureply
piefed.world

it's zsh without having to add in all the plugins. on my NixOS systems zsh+plugins caused it to run slow. Fish just doesn't have that issue as everything is baked into it. setting up functions is also a breeze and the built in themes are great. just one install and no need to configure much if anything.

8

yeah pretty much every zsh plugin loader have filed issues about the long load times and running slowly. fish just doesn't have that. it starts as fast as zsh with no plugins, and it's a better all around experience.

1

It's just a very nice shell that's conceptually very close to common shells like bash and others while it has a nicer syntax than those. All in all very reasonable and rather evolutionary than revolutionary. So the learning curve is rather flat compared to shells like nu or elvish

14

For me is it's awesome, out of the box, syntax highlighting, auto-suggestions/auto-complete and the up arrow history function (that includes substrings).

8
programming.dev

I suppose it's pretty easy to see why when you consider what the most^[I could be wrong, but searching for "zsh" on GitHub and sorting it by most stars should be a pretty good metric.] popular plugins are for the popular shell zsh:

Both of which literally start by referencing fish in their respective READMEs.

And where zsh requires plugins to get these, fish has these by default. Perhaps unsurprising as fish stands for Friendly Interactive SHell. As such, the niceties don't stop there.

Basically, if you want a no-nonsense shell that gets pretty much out of your way and comes with excellent defaults right of the gate, then you simply can't go wrong with fish.

Take this from someone that stubbornly tried to bend bash to my will with stuff like ble.sh (link) and later zsh with zsh-quickstart-kit, but to no avail... It always caused more trouble than it was worth. And when I finally gave in and tried fish, it was pure bliss from the get-go. The rest has been history... Fish has literally become the first thing I install on all my systems.

Note, however, that (as per fish' documentation) you shouldn't change your login shell to fish. This blogpost by a CoreOS engineer goes over it in more length.

27

exact same experience I had. used bash for years, got so tired of it, switched to zsh with plugins and it was amazing, but so slow to load. Finally got tired of that and tried fish and it's just zsh, but ... good ...

I've never had issues with fish as login shell though. Probably niche OSes

2

Completions, plugins, and themes built in. It's fine. I still use bash for scripting but fish for interactive terminals is nice with little effort.

4

You reached the end