Skip to content
company backend for fish shell completions
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Company Fish

This company backend provides completion candidates for shell and eshell buffers based on the Fish shell.


clone this repo and add the following to your .emacs

(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

  • commands
  • 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.


You can’t perform that action at this time.