Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to execute zle widget during zsh-init?
- X-seq: zsh-users 7873
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: how to execute zle widget during zsh-init?
- Date: Tue, 17 Aug 2004 18:22:21 +0200
- In-reply-to: <Pine.LNX.4.61.0408162006440.26310@xxxxxxxxxxxxxxxxxx>
- Kinfo: virscan ok
- Kinfo: NoRelay, NoSpam
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040816214627.GA32476@xxxxxxxxx> <Pine.LNX.4.61.0408162006440.26310@xxxxxxxxxxxxxxxxxx>
Hi Bart,
but zle-line-init() is called every time zle starts, i.e. before a prompt
is shown. Isn't that overkill? :-)
> zle-line-init
> Executed every time the line editor is started to read a new line of input
Besides that doubt I can't get it to work. I put the function
zle-line-init into my .zshrc, but where do I put the definition of the
function grow-killring? zsh complains:
"No such widget `grow-killring'"
Thanks again,
Andy.
--
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"In a cat's eye, all things belong to cats." --English proverb
Messages sorted by:
Reverse Date,
Date,
Thread,
Author