Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] run-help: ugly workaround for run-help-$X with alias for $X
- X-seq: zsh-workers 27531
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] run-help: ugly workaround for run-help-$X with alias for $X
- Date: Fri, 18 Dec 2009 13:51:31 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1261149125; i=@xxxxxxxxxxxx; bh=eCwqV6/lVBeB0JIpwUeO3fM02xHFuZF0X 9TWrHGo5H8=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=WU/8 9s5hYfyLvzq5IGibZcpB1HVYVh8PCTGPjBbKI4CAr0RoJeLsEXEWgyQE6mrK+6W8rbN PfBJLUYlohoRy4/SOGBIhTwMdBvcELt3MZjxiqt1XsCV3KX7p8qL3G1JeC9pnQaE9pd 1m89hbab5naGwxHjj7a21WSYyBRRD83UE=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20091214114004.GA31015@xxxxxxxxxxxx> <200912141342.nBEDg23i004301@xxxxxxxxxxxxxx> <091214075055.ZM8191@xxxxxxxxxxxxxxxxxxxxxx> <20091216105725.010c00d9@news01>
- Sender: news <news@xxxxxxxxxxxx>
Hello Peter,
Peter Stephenson <pws@xxxxxxx> wrote:
> On Mon, 14 Dec 2009 07:50:55 -0800
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> That unset is probably there because older versions of zsh had some
>> bugs in the implementation of "var=value command ..." particularly in
>> the case where "command" is a function or builtin. This stemmed from
>> zsh's efforts to avoid forking when no external program was involved.
>
> Actually, it's here (from the diff -u)...
>
> + unset run_help_orig_cmd
> eval "run-help-$1:t ${(qq@)cmd_args[2,-1]}"
>
> ... so maybe I've missed the point: it may have been to prevent
> $run_help_orig_cmd being seen by run-help-<something>.
Yes, this was my intention. I would like to avoid somebody uses this,
because it's an hack and might^Wshould be removed in the future.
Bye, JÃrg.
--
< Mr X.> jo: contact an admin to mount it for you
< jo> The admin is not, well how should I say it, he isn't very familiar with
the system. What should I tell my admin, what he should do?
< Mr X.> taking a sun solaris administration course.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author