I'm taking a look in django/core/management/__init__.py in the completion
method the first couple of lines are (line 285):

# Don't complete if user hasn't sourced bash_completion file.
if not os.environ.has_key('DJANGO_AUTO_COMPLETE'):
    return

Right after doing ". ~/Sources/django-trunk/extras/django_bash_completion"
if I run "printenv" DJANGO_AUTO_COMPLETE is not shown.

-Martin

On Fri, Apr 30, 2010 at 11:17 AM, Daniel Roseman <dan...@roseman.org.uk>wrote:

> On Apr 30, 7:55 am, Martin Lundberg <martin.lundb...@gmail.com> wrote:
> > Thanks, at least I know that it should work. Could it be that I don't
> have
> > bash-completion installed on osx? I've tried to install it with brew and
> it
> > seemed to work but I'm not sure if it is in fact installed and working
> and
> > I'm not sure how to test if it is.
> >
> > -Martin
>
> You shouldn't need to install anything to get bash completion to work
> - it's part of Bash.
> --
> DR.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to