Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: new builtin 'help'
- X-seq: zsh-workers 19249
- From: Miek Gieben <miekg@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: new builtin 'help'
- Date: Fri, 14 Nov 2003 15:52:02 +0100
- In-reply-to: <20031114143421.GD19886@DervishD>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20031114141015.GA12667@xxxxxxxxx> <20031114143421.GD19886@DervishD>
[On 14 Nov, @15:34, DervishD wrote in "Re: new builtin 'help' ..."]
> Hi Miek :)
>
> * Miek Gieben <miekg@xxxxxxxxx> dixit:
> > after having used bash for 8 years i've switch to zsh. Boy, what a
> > difference :-)
>
> Yes ;))
>
> > But one of the things i missed was a 'help' builtin function.
>
> Me too! But certainly I can't live without it ;)
>
> > It just prints out the files in /usr/share/zsh/help/ when the help
> > builtin is used. The path is currently hardcoded.
>
> And it shouldn't... How about taking it from a environment
> variable? I mean, this way you can use the help shipped with zsh, or
> other if you want to.
that is an option, but I would have thought that such a path is
set at compile time. So maybe using a configure-var is what is needed.
OTOH using an ENV var is also nice and clean.
> IMHO, and taking into account that I don't decide, of course, is
> a very good idea... Anyway, this can be implemented in a shell
> function, is not necessary doing that in a builtin...
true, but I felt liking coding in C ;-) (and in the same hold for bash btw,
it could also be a function there)
grtz
Miek
--
"So long, and thanks for all the fish."
-- Hitchhikers Guide to the Galaxy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author