Live data from Hacker News

Fish shell

fishshell.com

31–40 of 120 posts

Re: Fish shell

#31

Nit: Fish Shell is a bit redundant, as Fish stands for "Friendly Interactive Shell". Now that's out of my system, fish is fantastic and made me realise importance of sensible defaults. I tried zsh but configuration took longer than I would have liked, and oh-my-zsh is too bloated to start instantly. Compared to that, I have practically 0 modifications in my Fish config, apart from few aliases. I don't use fish for mo…

https://en.wikipedia.org/wiki/RAS_syndrome

No. This is not RAS. It's a continuation of a long trend in *nix/FLOSS for using recursive acronyms. One of the earliest:

GNU: GNU's Not Unix

The one closest to me (though I didn't invent it): JACK - the JACK Audio Connection kit.

Re: Fish shell

#32
post #28

I love Fish, pairing it with Starship prompt ( https://starship.rs ) makes a truly powerful combo with almost no extra config necessary.

Thank you for showing me this; the ZSH starship prompt is what has prevented me from going back to Fish, but now I have no such excuse!

Re: Fish shell

#33
post #16

So the massive drawback of fish is it's incompatible with bash (and other shells people use). If you're in fish, this is easily remedied because almost every machine has bash too. However, you can't expect another machine to have fish. However, I just really like fish. I also live out of my own shell, and I don't spend much of my life remote-ing into other machines. When I do, my mind flips into bash just as easily a…

I agree entirely. I've tried zsh and other replacements, but I keep coming back to Fish. It's intelligent, loaded with features, and ohmyfish adds a lot.

No other machine I connect to has fish, but for my own machines, it's my top choice. Still, I write a lot of utility scripts in bash for the compatibility and it can be annoying when I copy a command and I know it won't work because it uses some unsupported syntax in fish. Every now and then, and it is rare, I switch to bash locally to run something.

Re: Fish shell

#34
I love Fish. Here's my list of essential plugins:

- jorgebucaran/fisher (plugin manager)

- IlanCosman/tide (prompt)

- jhillyerd/plugin-git (git abbreviations)

- PatrickF1/fzf.fish (history finder, and other autocompletion)

- jethrokuan/z (directory jumping)

- jorgebucaran/autopair.fish (auto-complete quotes)

The auto-complete experience is what I like most about Fish, followed by abbreviations (not aliases) auto-expansion.

Re: Fish shell

#35
post #2

Previously: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

This shouldn't be downvoted. I don't think that this person is necessarily complaining that it was reposted; rather it's sometimes nice to be able to go back and see previous discussions.

Re: Fish shell

#36

Earlier quoted context omitted.

https://en.wikipedia.org/wiki/RAS_syndrome

No. This is not RAS. It's a continuation of a long trend in *nix/FLOSS for using recursive acronyms. One of the earliest: GNU: GNU's Not Unix The one closest to me (though I didn't invent it): JACK - the JACK Audio Connection kit.

It is. See the difference:

GNU Operating System -> GNU's Not Unix Operating System

Fish Shell -> Friendly Interactive Shell Shell

One expands to include the original acronym, but doesn't duplicate the descriptive extra words. The other doesn't expand to include the original acronym, but does duplicate the descriptive extra word.

In other words, one is recursive but not redundant, the other is redundant but not recursive.

Re: Fish shell

#37
I switched to fish in the last ~6mo, after bash for years. I feel like its made me more productive, especially the auto complete.

I have read a number of opinions concerned about the portability of fish. Perhaps, my own use case is different, but I have experienced very few compatibility problems.

The most common compatibility problem for me is copy pasting a shell command with `$(...)` in it. Switching to bash and re-pasting is pretty effortless, but this doesn't happen often.

Re: Fish shell

#38
post #16

So the massive drawback of fish is it's incompatible with bash (and other shells people use). If you're in fish, this is easily remedied because almost every machine has bash too. However, you can't expect another machine to have fish. However, I just really like fish. I also live out of my own shell, and I don't spend much of my life remote-ing into other machines. When I do, my mind flips into bash just as easily a…

> However, you can't expect another machine to have fish.

I can, because whenever I get access to a new machine I download and compile it!

Re: Fish shell

#39
Fish is fast but the thing which stops me from keep using it is that fish is not POSIX compliant. so I just use zsh for interactive shell and dash for scripting (and use bash when dash is not enough).

It's easy to configure zsh to be mostly like fish. Here is my zsh setup, I don't use any zsh framework, just install them with my package manager and source related plugins in $HOME/.zshrc.local (except powerlevel10k which I need to clone the repo and source powerlevel10k.zsh-theme)

- grml-zsh-config[1]. lots of useful base stuff

- zsh-completions

- zsh-autosuggestions. fish-like autosuggestions

- zsh-syntax-highlighting. syntax colors

- fzf-key-bindings.zsh / skim-key-bindbings.zsh. fuzzy file/history search

- powerlevel10k. fancy prompt

[1] https://grml.org/zsh/

Re: Fish shell

#40
I've been using fish for a year. I don't bash much, so that's a data point.

I really enjoy it. Faster than zsh once it's loaded with all the plugins that make it behave like default fish.

Post reply on HN