Fish-like autosuggestions in eshell.
Emacs Lisp
Switch branches/tags
Nothing to show

README.org

company-eshell-autosuggest

Fish-like history autosuggestions in eshell

See my blog post for an example.

Usage

Make sure company-mode is enabled in eshell. You can do this with (global-company-mode t) or by adding a hook:

(add-hook 'eshell-mode-hook 'company-mode)

Then set the company backend and frontend:

(defun setup-company-eshell-autosuggest ()
  (with-eval-after-load 'company
    (setq-local company-backends '(company-eshell-autosuggest))
    (setq-local company-frontends '(company-preview-frontend))))

(add-hook 'eshell-mode-hook 'setup-company-eshell-autosuggest)

Installation

This package is not on melpa yet. Consider installing with straight.el or quelpa-use-package.

Otherwise, download the files to somewhere on your load path, and enable hacker-typer:

(require 'company-eshell-autosuggest)