What does HackerNews think of zsh-autosuggestions?
Fish-like autosuggestions for zsh
BUT...
After adding the following plugins to zsh(before you chime in, it's just adding these lines,not anything configuring much. also it auto bootstraps on new install), I found out that fish is no where as good as configured zsh.
1) https://github.com/zdharma-continuum/zinit (plugin manager)
2) https://github.com/zdharma-continuum/fast-syntax-highlightin...
3) https://github.com/zdharma-continuum/history-search-multi-wo...
4) https://github.com/zsh-users/zsh-autosuggestions
5) https://github.com/zsh-users/zsh-completions
6) https://github.com/Aloxaf/fzf-tab
7) any good shell prompt generator like https://github.com/romkatv/powerlevel10k
For example, I use fzf integration for tab completion. Fish's fzf integration is nowhere as good as that of zsh's. Also, posix compat and almost bash compat of zsh is plus.
I acknowledge that zsh isn't perfect shell either and I have tried and failed few times in past to switch to fish. If you provide me compelling reason/s to switch to fish, I am all ears.
https://github.com/zsh-users/zsh-autosuggestions
Best of both world really.
Said functionality for zsh:
I recommend Oh My Zsh with the zsh-autosuggestions [1] and zsh-syntax-highlighting [2] plugins.
[1] https://github.com/zsh-users/zsh-autosuggestions
[2] https://github.com/zsh-users/zsh-syntax-highlighting
And my custom theme ;) https://github.com/whyboris/dotfiles/blob/main/yboris.zsh-th...
After so many years of using Bash I switched to zsh almost a year ago. I use the vanilla zsh set up with 2 plugins:
- https://github.com/zdharma-continuum/fast-syntax-highlightin... for very good and fast syntax highlighting
- https://github.com/zsh-users/zsh-autosuggestions for auto-suggestions
I don't use a plugin manager, instead I put together a ~20 line shell script[0] which handles either cloning or pulling plugins, then you can load them in your zshrc[1].
I haven't found the need for anything else and my whole dev environment is based on using tmux, terminal Vim, etc.. Basically I spend a lot of time there in my day to day. I started with the idea of "less is more" and planned to add more things over time but the time to add new things hasn't come yet.
[0] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
[1] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
[0] https://github.com/olets/zsh-abbr
Why? ZLE is what makes zsh compelling for users. It provides a high level of customizability into command line editing that is simply not possible with bash. It powers zsh's most touted completion feature as well as popular plugins such as zsh-syntax-highlighting[1] and zsh-autosuggestions[2]. Replacing it with readline would be a sure way to lose a majority of users in a blink of an eye.
PS: I read the fine print and I (and many others, I'm sure) would really, really like to pay some money for you to not send ANY telemetry data at all. Would be great if you kept this demographic in mind.
Congrats on the launch, and all the best!
Bonus: `zsh-syntax-highlighting` is excellent: https://github.com/zsh-users/zsh-syntax-highlighting
Best of both worlds, fish-like autocomplete combined with bash-compatibility :)
https://github.com/zsh-users/zsh-autosuggestions
Now zsh feels just like fish, but with bash-compatible syntax (which was the main day-to-day problem I had with fish, otherwise it's fine, but except for the auto-suggestions I didn't really use any special fish features).
I'm a fish user, actually. That said, for those on zsh who want some of fish's most prominent user features without leaving, check out zsh-syntax-highlighting[1] and zsh-autosuggestions[2]. These are rather popular so long time users may not benefit from these suggestions.
[1] https://github.com/zsh-users/zsh-syntax-highlighting [2] https://github.com/zsh-users/zsh-autosuggestions
[zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
[zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
Poster mentioned "modern alternatives exist" with good colorization options. Some of my favorite colorized feature-rich alternatives:
ls -> [exa](https://github.com/ogham/exa)
cat -> [bat](https://github.com/sharkdp/bat)
du -> [ncdu](https://dev.yorhel.nl/ncdu)
diff -> [delta](https://github.com/dandavison/delta)
In combination with all of the above, [fzf](https://github.com/junegunn/fzf) suddenly becomes a syntax-highlighter preview-pane via leveraging bat (or delta, as the case may be).