I've stumbled upon the argcomplete support in this project, but I haven't been able to make it work yet. Unfortunately this feature isn't mentioned in the documentation at all which makes it even harder to understand.
Agree it really needs documentation. In the meantime, you might see the issue comments where the feature was added. I also had issues initially and documented how I got it working - #55. Pull requests are always welcome btw ;)
I'm not opposed to writing it myself, but first I need to actually make it work ;)
Tried it again, and failed again...
eval "$(register-python-argcomplete manage.py)"
and I have no idea what I'm missing and why this is so hard to setup...
Hmm, I'll be honest, that looks like all the items I had to do as well. I just tested mine (using the manage.py under examples) and it still works (I have an older argcomplete==0.4.0 installed).
Does the contents in ~/.bash_completion.d/python-argcomplete.sh look correct?
depends on how you define "correct". there is some content that might make sense if I knew what it did... I have the feeling this might be more of an issue on the argcomplete side and not related to this project. I am using Ubuntu, so that might make a difference. You used OS X, right?
Yes, OSX 10.9.