* Disabling unwanted completion functions
@ 2003-05-07 14:08 Haakon Riiser
2003-05-07 14:26 ` Oliver Kiddle
0 siblings, 1 reply; 2+ messages in thread
From: Haakon Riiser @ 2003-05-07 14:08 UTC (permalink / raw)
To: zsh-users
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?
--
Haakon
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Disabling unwanted completion functions
2003-05-07 14:08 Disabling unwanted completion functions Haakon Riiser
@ 2003-05-07 14:26 ` Oliver Kiddle
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2003-05-07 14:26 UTC (permalink / raw)
To: Haakon Riiser; +Cc: zsh-users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-07 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 14:08 Disabling unwanted completion functions Haakon Riiser
2003-05-07 14:26 ` Oliver Kiddle
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).