Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Assorted questions
- X-seq: zsh-users 15115
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Assorted questions
- Date: Wed, 9 Jun 2010 23:41:17 -0700
- In-reply-to: <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100605192316.GB26738@xxxxxxxxxx> <AANLkTikZUYfGgyW6FlgpkjlPdvYGzHBXdUeD6FEMThip@xxxxxxxxxxxxxx> <20100608091256.GA21957@xxxxxxxxxx> <AANLkTinn1uCEmyGX7TtvxoSt-vmZ4a7s9jZSdVfCzo-R@xxxxxxxxxxxxxx> <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@xxxxxxxxxxxxxx>
(Oops, accidentally sent this to Wayne instead of to the list.)
On Wed, Jun 9, 2010 at 12:50 PM, Wayne Davison
<wayned@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Jun 8, 2010 at 2:12 AM, Simon Friedberger
> <simon+zsh@xxxxxxxxxx<simon%2Bzsh@xxxxxxxxxx>
>> wrote:
>>
>> This has several problems. For starters the first line fails with:
>> "widgets can only be called when ZLE is active"
>>
>
> Yeah, I don't know how to use set-local-history outside of a zle key
> binding.
This is what zle-line-init is for ...
zle-line-init() { zle set-local-history 1 }
zle -N zle-line-init
(Why is there no doc for set-local-history other than a passing
mention under options?)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author