mix_autocomplete
mix_autocomplete copied to clipboard
Shell script to give autocomplete options with mix tasks
Mix Autocomplete
Shell script to give autocomplete options for mix tasks in elixir development
Setup for Bash
- 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
Setup for ZSH
- 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
Staying up to date with the script
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 [email protected]: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
Contribute
Open a pull request or issue, no formalities are needed