Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#582258: zsh-mime-setup disables usual completions



On Wed, May 19, 2010 at 05:18:59PM +0400, Nikolay A. Panov wrote:
> Using zsh-mime-setup I have no completions for, say, django:
> 
> $ zsh -f
> laptop% autoload -U compinit;compinit
> laptop% ./manage.py
> tags in context :completion::complete:manage.py::
>     argument-1 options  (_arguments _django (eval)) 
>     subcommands         (_describe _django (eval))
> 
> This time I have pressed <C-x>,h. In case of <TAB>, completions works well:
> 
> laptop% ./manage.py
> cleanup           -- remove old data from the database
> compilemessages   -- compile .po files to .mo for use with gettext
> ....
> 
> If then I load zsh-mime-setup, django completions became disabled:
> 
> laptop% autoload -U zsh-mime-setup; zsh-mime-setup
> laptop% ./manage.py
> tags in context :completion::complete:zsh-mime-handler::
>     all-files  (_files _default (eval))
> 
> And by TAB I have just the following:
> laptop% ./manage.py
> apps/                    extras/                  media/                   settings_local.py*
> ....
> 

You could do `unalias -s py' to get your manage.py completion back.



Messages sorted by: Reverse Date, Date, Thread, Author