Live data from Hacker News

Fish Shell 3.2

github.com

31–40 of 133 posts

Re: Fish Shell 3.2

#31
I'd like to use fish regularly, but I feel really attacked by the over-the-top usage of color and unrequested auto-completion. Even a "monochrome" theme I tried was shoveling many different shades of gray into my terminal. It does not seem to honor the NO_COLOR variable either. Is there any way to obtain a default configuration with everything disabled?

Re: Fish Shell 3.2

#32

Earlier quoted context omitted.

The ubiquity question?

bash is installed by default on pretty much everything but for fish I need to un-learn bash shenanigans like `esac` which I fear would hurt more than help in general. Either that, or maybe I'm just lazy and missing out on a nice tool...

I switched entirely for interactive use a couple of years ago and have only had positive things to say. I still use Bash for scripts but that’s exclusively scripts which I edit in a real editor with version control, 100% shellcheck, etc. and even then I’ve been rewriting most non-trivial scripts into Python for the last decade so it gets sane error handling and data structures, not to mention usually ending up being shorter due to the richer library.

Re: Fish Shell 3.2

#33
what's the difference between this and zsh? both seem to have the same set of features. also zsh is the default shell for macOS (as of Catalina)

Re: Fish Shell 3.2

#34
post #15

Earlier quoted context omitted.

Many of us use it, I personally in my daily basis development Fish shell is pretty neat and increases productivity in terminal. However I still use Bash in the server side where I need for example, explicit error aborting like `set -e` that Fish doesn't have yet. https://github.com/fish-shell/fish-shell/issues/510

set -e is not great and is not recommended. http://mywiki.wooledge.org/BashFAQ/105

-e is in the class of things that can be fine to use, but the people least-likely to be prepared to know when it can be are the most likely to expect it to behave better than it does.

Sort of a combination finger-trap/cigar cutter for newbies.

Re: Fish Shell 3.2

#35

I'd like to use fish regularly, but I feel really attacked by the over-the-top usage of color and unrequested auto-completion. Even a "monochrome" theme I tried was shoveling many different shades of gray into my terminal. It does not seem to honor the NO_COLOR variable either. Is there any way to obtain a default configuration with everything disabled?

It's a good point, but how many of the features are useful without any colors at all? At least the auto-completion would just look like any typed text.

Perhaps fish is not for you?

Re: Fish Shell 3.2

#36
Folks make a big deal about everything Fish gives you out of the box, but for someone who already has Zsh well–configured (eg. syntax highlighting, autosuggestions, fzf), can someone sell me on things I might be missing out on from Fish?

Re: Fish Shell 3.2

#37
I put off switching from bash for years but quit cold turkey for fish a couple of years ago, and find myself appreciating that almost daily.

One of the underappreciated values is that while you can configure it you get great functionality out of the box. Switching was chsh, picking a theme in the interactive config, and going back to work. The only I’ve really felt the need to do was to add the Terraform workspace to my prompt, which was quite easy.

Re: Fish Shell 3.2

#38
post #36

Folks make a big deal about everything Fish gives you out of the box, but for someone who already has Zsh well–configured (eg. syntax highlighting, autosuggestions, fzf), can someone sell me on things I might be missing out on from Fish?

Assuming zsh is already doing everything you want the biggest thing you're missing is speed.

Re: Fish Shell 3.2

#39

Fish is my shell of choice, like many in this thread. To me it just works, without configuring anything (ok, maybe a couple of aliases), with great defaults. As an example, type anything(for instance, '.conf') + up arrow, and there you see all the completions (for instance, 'less /etc/postgresql/10/main/pg_hba.conf' shows for me) based on the shell history. You can then cycle through them with up/down arrows. It is t…

It really is my pet peeve with fish, but the last command that started with what you typed cannot be completed that way. For that, you need to use right-arrow.

I kept a fork of fish for that purpose for some time, but that was really too much hassle and I went back to zsh.

Which is pretty sad, because otherwise fish is amazing.

Post reply on HN