Bash completion for Elm tools

Hi folks!

I’ve put together some bash completions for:

  • elm-make
  • elm-package
  • elm-repl
  • elm-reactor
  • elm-test
  • elm-format

For the most part, things like options or flags are completatable by pressing [TAB] after typing a little hint. However, for elm-test and elm-format, it’ll only show you Elm files, or directories, making it a little easier to find the file you’re after!

For elm-package, it will now show you all the possible packages you can install!

faster_bash_completions

You can get it here. The install steps are pretty simple!

13 Likes

Oh, and if you use Fish, ohanhi has a fish version here: https://github.com/ohanhi/fish-elm-completions, though at the time of writing it only supports elm-package, but I’m sure ohanhi will add more support soon!

3 Likes