From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19774 invoked from network); 8 Sep 1999 15:55:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Sep 1999 15:55:24 -0000 Received: (qmail 4641 invoked by alias); 8 Sep 1999 15:55:05 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2583 Received: (qmail 4633 invoked from network); 8 Sep 1999 15:55:04 -0000 Date: Wed, 8 Sep 1999 17:55:03 +0200 From: Andy Spiegl To: zsh-users@sunsite.auc.dk Subject: Re: is there a mix of history-search-backward and history-beginning-search-backward Message-ID: <19990908175503.K8577@br-online.de> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <19990908150213.D4878@br-online.de> <199909081527.RAA19661@paris.ifh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199909081527.RAA19661@paris.ifh.de>; from Peter Stephenson on Wed, Sep 08, 1999 at 05:27:57PM +0200 X-PGP-Public-Key: finger pgp.andy@spiegl.de Hi Peter, thanks a lot! I am (once again) impressed by the possibilities of zsh! Just one problem: how do I set the functions up so that I can bind them to my keys? I put the file into ~/.zsh.funcs/ directory, autoloaded it and called bindkey: bindkey "^P" history-beginning-search-backward-end bindkey "^N" history-beginning-search-forward-end But when I press ^P I get to see: No such widget `history-beginning-search-backward-end' I am fairly new to zsh and haven't really understood the concept of loadable functions... > I assume you're using zsh 3.1, 3.1.6 even. > # function history-beginning-search-forward-end { I removed the comment sign, too. Thanks again! Andy. -- E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de Finger pgp.andy@spiegl.de for my PGP key o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ But he was probably like most CS majors: spending all the time in the computer labs, eating out of vending machines, majoring in the four major food groups: sugar, starch, chocolate and caffeine, he probably was 5'6" and weighed 250, with a face like a pepperoni pizza behind Coke bottles.