Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problematic change in alias behavior in pre3
- X-seq: zsh-workers 1736
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Problematic change in alias behavior in pre3
- Date: Mon, 22 Jul 1996 12:03:25 +0200
- In-reply-to: "schaefer@xxxxxxxxxxxxxxxxxxxxxxx"'s message of "Sun, 21 Jul 1996 11:51:35 MET." <960721115135.ZM19185@xxxxxxxxxxxxxxxxxxxxxxx>
schaefer@xxxxxxxxxxxxxxxxxxxxxxx wrote:
> It's not sufficient to assign incmdpos=0 when ENVARRAY, because then this
> kind of thing fails:
>
> zsh% alias foo='echo help'
> zsh% show=(stuff) foo bar
> zsh: command not found: foo
No objection to the fix, but is it clear this is kind of thing is
useful anyway? Arrays don't seem to get exported in this fashion, not
even space-concatenated.
% show=stuff zsh -c 'printenv show'
stuff
% show=(stuff) zsh -c 'printenv show'
<zilch>
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author