Skip to content

CeleritasCelery/company-fish

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

Company Fish

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

Installation

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))

Features

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.

img/tar-example.png

About

company backend for fish shell completions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published