This company backend provides completion candidates for
eshell buffers based on the Fish shell.
clone this repo and add the following to your
(when (executable-find "fish") (add-to-list 'company-backends 'company-fish) (add-hook 'shell-mode-hook 'company-mode) (add-hook 'eshell-mode-hook 'company-mode))
Provides completions for
- command-line options
Company vs Pcomplete
There already exists a
pcomplete Fish completion backend (emacs-fish-completion) on which
company-fish was based. You can even use it with company via
company-capf. The only thing that this package provides over the pcomplete version is annotations (short descriptions of the candidates). If you don’t care about that feature you would be better off using the pcomplete version.