Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: up-line-or-search
- X-seq: zsh-workers 4014
- From: Louis-David Mitterrand <mito@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: up-line-or-search
- Date: Mon, 1 Jun 1998 09:27:40 -0400
- In-reply-to: <19980601081357.58829@xxxxxxxxxxxxxxx>; from Andy Wick on Mon, Jun 01, 1998 at 08:13:57AM -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxxx
- References: <19980601081357.58829@xxxxxxxxxxxxxxx>
- Reply-to: mito@xxxxxxxxxxxxxx
On Mon, Jun 01, 1998 at 08:13:57AM -0400, Andy Wick wrote:
> I guess I am the only one who uses up-line-or-search, since it
> is still broken in 3.1.4. I did a little bit of debugging, but
> since I have no clue what is going on, I am really not much help.
> If you comment out line 376 of Zle/zle_hist.c
> iblank(s[histmpos] == Meta ? s[histmpos+1]^32 : s[histmpos]) &&
> up-line-or-search will kind of work, which is better then not
> working. What it still does with that line commented out is forget
> the orginal string typed in, and uses the last string found each
> time you hit up arrow.
I get the same effect than up-line-or-search by using:
bindkey <up-arrow> history-beginning-search-backward
(replace the <up-arrow> with the appropriate key sequence)
--
Louis-David Mitterrand
http://www.aparima.com
mito@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author