From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: martin f krafft <madduck@debian.org>, 480889@bugs.debian.org
Subject: Re: Bug#480889: zcompiling messes with alias-in-function expansion
Date: Mon, 12 May 2008 17:04:00 +0100 [thread overview]
Message-ID: <20080512160400.GA10140@scru.org> (raw)
In-Reply-To: <20080512145509.GA15757@lapse.madduck.net>
I imagine that this is somehow related to
alias foo='echo bar'; foo
On Mon, May 12, 2008 at 03:55:09PM +0100, martin f krafft wrote:
> % cat <<_eof > foo
> alias foo='echo bar'
> fn() { foo }
> foo
> which foo
> _eof
> % . ./foo
> bar
> foo: aliased to echo bar
> % unalias foo; unfunction fn
> % zcompile foo
> % . ./foo
> ./foo:3: command not found: foo
> foo: aliased to echo bar
>
>
> OUCH!
next parent reply other threads:[~2008-05-12 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080512145509.GA15757@lapse.madduck.net>
2008-05-12 16:04 ` Clint Adams [this message]
2008-05-12 16:13 ` Peter Stephenson
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=20080512160400.GA10140@scru.org \
--to=schizo@debian.org \
--cc=480889@bugs.debian.org \
--cc=madduck@debian.org \
--cc=zsh-workers@sunsite.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).