Live data from Hacker News

Fish 3.4.0

fishshell.com

1–10 of 93 posts

Re: Fish 3.4.0

#2
> fish’s command substitution syntax has been extended: $(cmd) now has the same meaning as (cmd) but it can be used inside double quotes

That's pretty big news for a more POSIX-like behaviour!

Re: Fish 3.4.0

#4

> fish’s command substitution syntax has been extended: $(cmd) now has the same meaning as (cmd) but it can be used inside double quotes That's pretty big news for a more POSIX-like behaviour!

They've been doing these small improvements to support more standard syntax for a while and I approve. (e.g. 3.0 added &&/|| as aliases for and/or, 3.1 added &> redirection syntax, and "X=Y foo" for setting variables for one command)

Re: Fish 3.4.0

#5
Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why?

- Long-suffering bash user

Re: Fish 3.4.0

#7
post #5

Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why? - Long-suffering bash user

Switched and never came back. Always recommend people to use fish if they're not the "customize everything everywhere to my liking" type.

The defaults of fish are great and common tasks are simple. The for loop syntax was so intuitive I got it right the first time without checking Google (which I have to do every time I write a bash for loop).

Not much more to say I think.

Re: Fish 3.4.0

#9
Just loving every single bit of it since I switched to it. Had a couple of thoughts of migrating to zsh mostly because its more POSIX compliant but it doesn't look like such a valid argument as time passes by

Re: Fish 3.4.0

#10
post #7
post #5

Any other long-suffering bash user switched to fish and never looked back? Why? Have you switched and ended up coming back to bash? Why? - Long-suffering bash user

Switched and never came back. Always recommend people to use fish if they're not the "customize everything everywhere to my liking" type. The defaults of fish are great and common tasks are simple. The for loop syntax was so intuitive I got it right the first time without checking Google (which I have to do every time I write a bash for loop). Not much more to say I think.

Very true. As another long-time fish user, it gets a lot of things right. But I still write scripts in Bash if I need to share it with someone else.

These days, I'm playing with xonsh[0]. If I don't use the "standart" shell bash, I might as well use something that's integrated with Python.

[0]: https://xon.sh/tutorial.html

Post reply on HN