News for hackers. Stuff that matters.
Re:Fish 3.4.0 by ducktective on Saturday March 19, 2022 @01:20PM (#30735606)
Here is my TLDR:

Writing scripts: #!/usr/bin/env bash (or #!/usr/bin/env sh for POSIX-compliance)

Use fish for interactive shell. It's faster than zsh

Zsh seem to have more plugins

Re:Fish 3.4.0 by eddyg on Sunday March 20, 2022 @09:13AM (#30742357)
In what ways is fish faster than zsh?

I can be believe it’s faster than a poorly configured zsh (which unfortunately is quite common), but would be curious to see actual test results, with things like “input lag”, “time to first prompt”, “command lag”, etc. like is measured with the excellent zsh-bench (https://github.com/romkatv/zsh-bench#what-it-measures)

Re:Fish 3.4.0 by ducktective on Sunday March 20, 2022 @01:12PM (#30744464)
I've never tried zsh. I remember reading in the interwebz that if you go towards feature-parity with fish in a zsh setup, the latencies here and there, adds up and makes it slower than fish. Here is a relevant blog post: https://carlosbecker.com/posts/fish/

But yeah, I don't have any proofs.

Re:Fish 3.4.0 by eddyg on Sunday March 20, 2022 @04:58PM (#30746546)
Yeah, that blog post is doing exactly what https://github.com/romkatv/zsh-bench#how-not-to-benchmark says not to do...