Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: is there a mix of history-search-backward and history-beginning-search-backward
- X-seq: zsh-users 2583
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: is there a mix of history-search-backward and history-beginning-search-backward
- Date: Wed, 8 Sep 1999 17:55:03 +0200
- In-reply-to: <199909081527.RAA19661@xxxxxxxxxxxx>; from Peter Stephenson on Wed, Sep 08, 1999 at 05:27:57PM +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990908150213.D4878@xxxxxxxxxxxx> <199909081527.RAA19661@xxxxxxxxxxxx>
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@xxxxxxxxx URL: http://andy.spiegl.de
Finger pgp.andy@xxxxxxxxx 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author