5 ms·
Does anyone know how it compare to zsh with oh-my-zsh?
by hartator 8y ago
Does anyone know how it compare to zsh with oh-my-zsh?
- orf 8y agoI 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).
- jonaswouters 8y agoI 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.
- orf 8y agofisher add FabioAntunes/fish-nvm worked for me! https://github.com/FabioAntunes/fish-nvm https://github.com/FabioAntunes/fish-nvm
- nerdponx 8y agoZsh + 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.
- h1d 8y agoI 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.
- nerdponx 8y agoThis 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.
- avinassh 8y agoeven 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
- emasser 8y agoWell, https://github.com/oh-my-fish/oh-my-fish https://github.com/oh-my-fish/oh-my-fish exists if you want.