From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: hniksic@srce.hr (Hrvoje Niksic)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Exec-ing aliases
Date: Mon, 9 Sep 1996 14:36:26 +0200 (MET DST) [thread overview]
Message-ID: <199609091236.OAA01874@bolyai.cs.elte.hu> (raw)
In-Reply-To: <kig91ajsx7d.fsf@jagor.srce.hr> from Hrvoje Niksic at "Sep 9, 96 02:13:26 pm"
> I have found a thing that works in zsh-2.6beta13, but does not work in
> 3.0.0 (doubtless due to exec changes):
>
> $ alias a='echo something'
> $ exec a
>
> In 2.6b13 it would echo something and exit. In 3.0.0 (and presumingly
> in later betas) it just says "a: command not found".
That's because exec is a builtin now. Use alias exec='exec ' to get back
the old behaviour.
Zoltan
prev parent reply other threads:[~1996-09-09 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-09 12:13 Hrvoje Niksic
1996-09-09 12:36 ` Zoltan Hidvegi [this message]
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=199609091236.OAA01874@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=hniksic@srce.hr \
--cc=zsh-workers@math.gatech.edu \
/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).