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

Re: Disabling unwanted completion functions



Haakon Riiser wrote:
> I found nothing in the manual that described how to disable a
> particular completion function, but after a little experimentation,
> I came up with a solution.  As an example, this is how I would
> disable completion for tar:
> 
>   unset "_comps[tar]"
> 
> Is this the recommended way to do it in zsh 4.0.6?

Not really though it'll work fine.

Recommended way would be:
  compdef -d tar

Oliver



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