Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Disabling unwanted completion functions
- X-seq: zsh-users 6085
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Haakon Riiser <haakon.riiser@xxxxxxxxxx>
- Subject: Re: Disabling unwanted completion functions
- Date: Wed, 07 May 2003 16:26:02 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20030507140839.GA3576@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030507140839.GA3576@xxxxxxxxxxx>
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