David Bernheisel @david.bernheisel.com · Apr 15

I always do this: `mix <tab> <tab> <rage tab>` and then realize completions aren't built in for mix. so I hacked together something truly awful, but it works github.com/dbernheisel/... Add this ^ to your zsh fpath and then you have more helpful completions, including flags. #ElixirLang

16 likes 5 replies

?

Replies

Jesse Cooke · Apr 15

I wonder how your solution compares to github.com/erikareads/m... ?

David Bernheisel · Apr 15

there are other options if mine doesn't look good to you github.com/zsh-users/zs... github.com/erikareads/m...

David Bernheisel · Apr 15

lotta awk and lotta sed. It caches by project since your project might have more mix tasks than others. Also, I realized that `mix help credo` is useless -- why do they have to be different and put that in `mix credo --help` ? Credo's handled as a special case.

Tyler A. Young ⚗️🧑🏻‍💻 · Apr 15

Man, I need this. Might ask an LLM to make it work for Bash. 😆

Carter Bryden 🇨🇦 · Apr 16

Using completions? 😒 Typing it out? 😒 Pressing up 37 times and editing an old command for some reason? 😏