From: Andy Spiegl <zsh.Andy@spiegl.de>
To: ZSH User List <zsh-users@sunsite.auc.dk>
Subject: Re: strange alias effects
Date: Mon, 29 May 2000 14:13:36 +0200 [thread overview]
Message-ID: <20000529141336.A31206@br-online.de> (raw)
In-Reply-To: <000401bfc966$62db4e50$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, May 29, 2000 at 04:06:57PM +0400
> Sorry, this is of course wrong. You just seem to have alias definition
> *after* function definition. Because aliases are expanded when function
> is *defined*, they are not seen when functnio is executed.
That would make sense to me, but I _do_ have the alias defined before the
function. And since this was no problem until I upgraded to 3.1.7-pre-4
I suspect I found a tiny bug???
> Autoloading provides neat workaround - function body is first read in
> after everything else (including aliases) was already defined. For the
> same reason, second function definition in your example (on command
> line) works as expected - aliases are already known.
Hm, this sounds like a solution, but I'd hate to do that, because I've got
them all nicely sorted by subject in my .zsh/alias. :-(
Thanks,
Andy.
PS: cc to me is not necessary. I am usually subscribed to the lists
I post to. :-)
--
E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein
next prev parent reply other threads:[~2000-05-29 12:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-29 9:56 Andy Spiegl
2000-05-29 10:13 ` Bart Schaefer
2000-05-29 10:27 ` Andy Spiegl
2000-05-29 13:32 ` Sven Wischnowsky
2000-05-29 13:47 ` Andy Spiegl
2000-05-29 17:24 ` Bart Schaefer
2000-05-29 11:44 ` Andrej Borsenkow
2000-05-29 12:06 ` Andrej Borsenkow
2000-05-29 12:13 ` Andy Spiegl [this message]
2000-05-29 12:30 ` Andrej Borsenkow
2000-05-29 12:59 ` Andy Spiegl
[not found] ` <000301bfc96e$cf7af2b0$21c9ca95@mow.siemens.ru>
2000-05-29 13:13 ` Andy Spiegl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000529141336.A31206@br-online.de \
--to=zsh.andy@spiegl.de \
--cc=zsh-users@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).