Live data from Hacker News

Fish shell 3.0

github.com

1–10 of 227 posts

Re: Fish shell 3.0

#2
Apart from the other good stuff in this release, I think this will make a lot of things much easier:

fish now supports && (like and), || (like or), and ! (like not), for better migration from POSIX-compliant shells

Re: Fish shell 3.0

#6

Long time zsh user here. Any reason one should try out fish?

I'm not sure how nice zsh is by default, but out of the box Fish is nice, it's just not compatible with bash scripts. I think of it as a really nice shell for terminal use, I wouldn't write "fish" scripts personally, not as portable.

I mostly like that it tells me when my commands are wrong or when it autocompletes (usually hints are based on the directory you're in which is nice).

I tried zsh ages back and if I remember correctly you had to configure it yourself to get to such a point.

Note I only install fish in systems I fully own, I rather not confuse coworkers by using another shell. Also forces me to be more careful when in a production system.

Re: Fish shell 3.0

#8

Long time zsh user here. Any reason one should try out fish?

Coming from ZSH, Fish is a shell that just worked out of the box for me. It did everything ZSH did but I didn't have to touch a single configuration file to make it work. With ZSH I was forced to find all the options I wanted enabled and tuned or had to resort oh-my-zsh or templates from others to get all the good stuff. Managing dotfiles across workstations and servers. With Fish about the only thing I do after installing is set a theme with Git status.

Re: Fish shell 3.0

#9

Apart from the other good stuff in this release, I think this will make a lot of things much easier: fish now supports && (like and), || (like or), and ! (like not), for better migration from POSIX-compliant shells

This is absolutely thrilling! I often have to flip between bash and fish due to some archaic tools we wrote relying on bash in wierd ways, and the swap between how both handled logic like this was cumbersome. Glad to see one less potential reason my team won't use fish.

Re: Fish shell 3.0

#10

Long time zsh user here. Any reason one should try out fish?

I use fish for years but never explored it deeply. Mostly I choose it "just works". Auto-completion based on history is great, vim mode seemed kind of silly at first but after I started using it just feels very natural.
Post reply on HN