Version 0.3 of package Capf-Autosuggest has just been released in GNU ELPA. You can now find it in M-x list-packages RET.
Capf-Autosuggest describes itself as: ============================================= History autosuggestions for comint and eshell ============================================= More at https://elpa.gnu.org/packages/capf-autosuggest.html ## Summary: capf-autosuggest lets you preview the most recent matching history element, similar to zsh-autosuggestions or fish. It works in eshell and in modes derived from comint-mode, for example M-x shell and M-x run-python. As you type, the history auto-suggestion is shown as an overlay after point. Type [C-e] to insert text from this overlay or [M-f] to only insert a word from this overlay. [C-n] is a shorthand for [C-e] followed by [RET]: it inserts text from the overlay and sends it to the process. Installation: To install capf-autosuggest, type M-x package-install RET capf-autosuggest RET. Enable it with M-x capf-autosuggest-mode. It is best to add the following elisp snippet to your Emacs init file to enable `capf-autosuggest-mode' automatically for every comint and eshell buffer: ## Recent NEWS: [Not provided 🙁]