Shell script to give autocomplete options for mix tasks in elixir development
- Copy the
mix_autocomplete.shscript into a known location such as~/.mix_autocomplete.sh - Execute the file within your
.bash_profilewithsource ~/.mix_autocomplete.sh
- Copy the
mix_autocomplete.zshscript into a known location such as~/.mix_autocomplete.zsh - Execute the file within your
.zshrcwithsource ~/.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.shand stay up to date with cd mix_autocomplete && git pull
Open a pull request or issue, no formalities are needed