Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tags in function files
- X-seq: zsh-workers 19091
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: DervishD <raul@xxxxxxxxxxxx>
- Subject: Re: Tags in function files
- Date: Wed, 17 Sep 2003 09:48:17 +0200
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20030916203559.GA2160@DervishD>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030916203559.GA2160@DervishD>
DervishD wrote:
> Here am I again... This time is a simple question ;) The tags
> appearing on files containing completion functions (I mean, #compdef
> and #autoload), are hardcoded in Zsh or is the new completion system
> who parses it? I mean, can I use those tags in my shell scripts
> without using the new completion system?
It is the compinit shell function which parses them. So it is just the
new completion system and not anything hardcoded into zsh.
You can use them in your own shell scripts if you really want. You might
regret it if you start using the new completion system later though so
it might be wiser to use a different word in your tags.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author