News for hackers. Stuff that matters.
Re:Fish shell 3.0 by hartator on Friday December 28, 2018 @01:02PM (#18778312)
Does anyone know how it compare to zsh with oh-my-zsh?
Re:Fish shell 3.0 by nerdponx on Friday December 28, 2018 @01:14PM (#18778387)
Zsh + OMZ is a slow, unconfigurable mess. If you are new to Zsh, avoid OMZ. If you are experienced with Zsh, you already know to avoid it.

Fish "just works", and you won't have any lag. It is a delightful beginner experience, too.

A Zsh veteran could probably replicate parts of the Fish experience in Zsh, but ultimately they are different tools. I use Fish at home for casual shell stuff, but I write shell scripts in Zsh, and I use Zsh at work whenever possible.

Re:Fish shell 3.0 by h1d on Friday December 28, 2018 @06:02PM (#18780198)
I guess I try to switch to fish again as like you said zsh with 10 plugins takes so long to start a shell, like 5 seconds which feels forever when you want to start typing right then, that I now never quit the shell from remote machines but just disconnect from its tmux instance so I can go right back without initializing the shell every time I log in.
Re:Fish shell 3.0 by nerdponx on Friday December 28, 2018 @08:11PM (#18780960)
This is also a result of bad plugin design.

Functions should be on fpath, zcompile'd, and loaded with autoload. Otherwise you have to read and parse 100s of lines of code every shell invocation... yikes.

Re:Fish shell 3.0 by orf on Friday December 28, 2018 @01:05PM (#18778329)
I much prefer fish to zsh + omz. Most of the functionality is built in, and there are plugins for any missing ones (nvm is a big one).
Re:Fish shell 3.0 by jonaswouters on Saturday December 29, 2018 @07:21AM (#18783295)
I never got nvm working for me, so after a few years on fish, I switched back to ZSH just for nvm. Any tips on how to get it working?

I think it had to do bass not working though, so the plugin didn't work. Now that I'm on NixOS I might give it another shot.

Re:Fish shell 3.0 by orf on Saturday December 29, 2018 @07:26AM (#18783303)

   fisher add FabioAntunes/fish-nvm
worked for me!

https://github.com/FabioAntunes/fish-nvm

Re:Fish shell 3.0 by emasser on Friday December 28, 2018 @02:21PM (#18778816)
Re:Fish shell 3.0 by avinassh on Friday December 28, 2018 @01:19PM (#18778429)
even I am curious to know as well. some things I have found are fish is very fast, comes with syntax highlighting and auto suggestions from history.

one thing I have noticed is, some packages (I can't remember which, perhaps it was virtualenvwrapper?) come with tools which work with bash or zsh. I have rarely seen fish being mentioned.

edit: it was gcloud sdk and it added command line completions:

  # The next line enables shell command completion for gcloud.
  if [ -f /Users/avi/code/google-cloud-sdk/completion.zsh.inc ]; then
	source '/Users/avi/code/google-cloud-sdk/completion.zsh.inc'
  fi