To make it work with https://github.com/django/django and https://github.com/django-nose/django-nose I replaced: `complete -o nospace -F _nosetests nosetests` With: `complete -o nospace -F _nosetests python manage.py test` Is it the best way to do it?