Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zkbd fails: must be run as a function or shell script, not sourced
- X-seq: zsh-workers 24708
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: zkbd fails: must be run as a function or shell script, not sourced
- Date: Thu, 13 Mar 2008 21:52:13 +0100
- In-reply-to: <237967ef0803131335u6744a78s3387671ad33c32e8@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080313202748.GV30518@xxxxxxxxxxxxxxx> <237967ef0803131335u6744a78s3387671ad33c32e8@xxxxxxxxxxxxxx>
Mikael Magnusson <mikachu@xxxxxxxxx>:
> On 13/03/2008, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> > The zkbd function currently fails to start. In particular, it seems to
[...]
> > Since this worked before, I git-bisected my way through the younger
> > zsh code history and I was able to find the commit that breaks it for
> > me.
>
> fwiw, with current cvs i get this, which seems to be the intended result:
No, it does not work as intended (this is the current CVS HEAD):
[snip]
% zsh -f
zsh% autoload zkbd
zsh% zkbd
zkbd: must be run as a function or shell script, not sourced
[snap]
This *is* calling zkbd as a function, which worked before and breaks
now.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author