Shell script to give autocomplete options for mix tasks in elixir development
- Copy the
mix_autocomplete.sh
script into a known location such as~/.mix_autocomplete.sh
- Execute the file within your
.bash_profile
withsource ~/.mix_autocomplete.sh
- Copy the
mix_autocomplete.zsh
script into a known location such as~/.mix_autocomplete.zsh
- Execute the file within your
.zshrc
withsource ~/.mix_autocomplete.zsh
Yes, there are issues with this and features that have not been implemented. As it gets built you can stay up to date by either cloning this repo and adding a symlink:
ln -s path/to/where/you/cloned/mix_autocomplete.sh ~/.mix_autocomplete.sh
or use a git submodule if you use a common dotfiles
repo for yourself:
git submodule add git@github.com:dalexj/mix_autocomplete.git mix_autocomplete # ssh
git submodule add https://github.com/dalexj/mix_autocomplete.git mix_autocomplete # https
ln -s your/dotfiles/mix_autocomplete/mix_autocomplete.sh ~/.mix-autocomplete.sh
and stay up to date with cd mix_autocomplete && git pull
Open a pull request or issue, no formalities are needed