From: James Antill <james@and.org>
To: zsh-workers@sunsite.auc.dk
Subject: A couple of bugs in zsh-3.0.7
Date: 21 Nov 1999 17:22:04 -0500 [thread overview]
Message-ID: <nnr9hj5vub.fsf@code.and.org> (raw)
There are a couple of bugs in the way functions are handled in
zsh-3.0.7 ...
It's easiest to show them...
% where abcd
% alias abcd="echo abcd"
% where abcd
echo abcd
% abcd
abcd
% abcd () { echo xyz
2> }
% where abcd
echo abcd
abcd
/* running abcd at this point crashes zsh */
Where as...
% touch bin/abcd
% chmod +x bin/abcd
% where abcd
/home/james/bin/abcd
% abcd () { echo abcd
2> }
% where abcd
abcd
/home/james/bin/abcd
% abcd
abcd
% alias abcd="echo abcd"
% where abcd
echo abcd
abcd
/home/james/bin/abcd
% abcd
abcd
Works ...
Also...
% where ls
/bin/ls
/usr/bin/ls
% alias ls="echo abcd"
% where ls
echo abcd
/bin/ls
/usr/bin/ls
% ls () { echo xyz
2> }
% where ls
echo abcd
/bin/ls
/usr/bin/ls
%
/* running abcd cores zsh at this point too */
--
James Antill -- james@and.org
I am always an optimist, but frankly there is no hope.
-Hosni Mubarek
next reply other threads:[~1999-11-21 22:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-21 22:22 James Antill [this message]
1999-11-21 22:41 ` Zefram
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=nnr9hj5vub.fsf@code.and.org \
--to=james@and.org \
--cc=zsh-workers@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).