Helm Fish Completion is a Helm interface for Emacs fish-completion.
It can be used in both Eshell and M-x shell
.
- Helm 3.6 (or newer)
- fish-completion.el
You can invoke Helm Fish completion with the helm-fish-completion
command in
`M-x shell’.
To replace completion in Eshell, set helm-esh-pcomplete-build-source-fn
to
#'helm-fish-completion-make-eshell-source
.
(when (require 'helm-fish-completion nil 'noerror)
(define-key shell-mode-map (kbd "<tab>") 'helm-fish-completion)
(setq helm-esh-pcomplete-build-source-fn #'helm-fish-completion-make-eshell-source
fish-completion-mode
must be disabled.