From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26251 invoked by alias); 10 Jun 2010 06:41:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15115 Received: (qmail 29350 invoked from network); 10 Jun 2010 06:41:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) MIME-Version: 1.0 In-Reply-To: References: <20100605192316.GB26738@a-oben.org> <20100608091256.GA21957@a-oben.org> Date: Wed, 9 Jun 2010 23:41:17 -0700 Message-ID: Subject: Re: Assorted questions From: Bart Schaefer To: Zsh Users Content-Type: text/plain; charset=ISO-8859-1 (Oops, accidentally sent this to Wayne instead of to the list.) On Wed, Jun 9, 2010 at 12:50 PM, Wayne Davison wrote: > On Tue, Jun 8, 2010 at 2:12 AM, Simon Friedberger > >> 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?)