ohanhi / fish-elm-completions

Elm related completions for the friendly interactive shell
BSD 3-Clause "New" or "Revised" License
21 stars 1 forks source link
completion elm-lang fish-shell

Elm completions for fish

Features

Full completions for elm-make, elm-package (including all available package names), elm-reactor, elm-repl and elm-test.

A couple of example journeys in text:

> elm-pa[TAB] # elm-package
> elm-package i[TAB] # elm-package install
> elm-package install ev[TAB] # elm-package install evancz/
> elm-package install evancz/[TAB]
[suggestions] evancz/elm-graphics evancz/elm-markdown ...
> elm-rea[TAB] # elm-reactor
> elm-reactor --a[RIGHT ARROW] # elm-reactor --address
> elm-reactor --address=[RIGHT ARROW] # elm-reactor --address=0.0.0.0

Installation

NOTE: You need curl installed for the interactive package completions.

Fisherman

> fisher ohanhi/fish-elm-completions

Curl

$ curl -L https://raw.githubusercontent.com/ohanhi/fish-elm-completions/master/hooks/install.fish | fish