MixCompletions
Mix Task for generating shell completions for mix.
Installation
To install the mix task:
mix archive.install github erikareads/mix_completions tag v0.3.0To cache completions for mix:
mix completeBash Completions
To generate bash completions:
mix complete.bashYou'll need to source these completions, so consider writing the completions to a file.
mix complete.bash > .mix_completions.bash
Then source that file in your .bashrc:
source $HOME/.mix_completions.bashZsh Completions
To generate zsh completions:
mix complete.zsh
You'll need to save the completions as a function on the zsh fpath, for example:
mix complete.zsh > ~/.zsh/functions/_mix
And in the .zshrc:
fpath=(~/.zsh/functions $fpath)
autoload -Uz compinit
compinitFish Completions
fish already has completions for mix through community contributions: https://github.com/fish-shell/fish-shell/blob/master/share/completions/mix.fish