Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Moving completion functions
- X-seq: zsh-workers 13761
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Moving completion functions
- Date: Mon, 26 Mar 2001 04:33:54 +0000
- In-reply-to: <3ABE0E39.B74CAB72@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <3ABA72A9.EB9C68FC@xxxxxxxxxxxxx> <010322162918.ZM21205@xxxxxxxxxxxxxxxxxxxxxxx> <3ABE0E39.B74CAB72@xxxxxxxxxxxxx>
(Gotta find some more zsh-workers in my timezone. Half the time I feel
like I'm talking to myself. "... and the award for the most consecutive
messages to zsh-workers, none intercepted, goes to ...")
On Mar 25, 4:26pm, Oliver Kiddle wrote:
} Subject: Re: Moving completion functions
}
} Bart wrote:
} > I'd actually rather split compctl-examples up into smaller files and put
} > them all in Functions/Compctl, but I suppose we're trying to discourage
} > use of compctl ...
}
} That's not a bad idea. They'd be out of the way in the Compctl directory
} so I don't think it would be too much of an encouragement.
Unfortunately, thinking about it a bit more, most of compctl-examples is
not functions but compctl commands. Unlike the new completion system,
there's no convenient way to autoload them, so putting them under the
Functions directory doesn't make as much sense.
Unless ...
I just had a wonderful, awful idea ... one could use `compctl -T' to call
a function, which runs an autoloaded function, which defines a compctl,
which is then called because the -T attempt didn't generate a match ...
Oh, dear.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author