Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: history search bug{,fix}
- X-seq: zsh-workers 2725
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: wayne@xxxxxxxxx (Wayne Davison)
- Subject: Re: history search bug{,fix}
- Date: Sat, 4 Jan 1997 23:47:38 +0000 (GMT)
- Cc: zefram@xxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199701042334.PAA19601@xxxxxxxxxxxxxxx> from "Wayne Davison" at Jan 4, 97 03:34:40 pm
Wayne Davison wrote:
>Unfortunately this changes the way searching works in some cases.
>For instance, if you type an 's' and then use history-search-backward
>it will find a command that starts with the letter 's' (as before).
>However, if you type the command again it searches for a command
>that matches the current command instead of continuing to look for
>commands that start with the letter 's'. The only time the new
>behavior matches the old is when the initial search is for a full
>word (i.e. it was terminated by a space).
That's odd. It looks like history-search-{for,back}ward only behaved
as documented if the word ended in a space, otherwise acting like
history-beginning-search-{for,back}ward. Wouldn't it be better to make
them actually behave as documented -- only look for complete words
matching the current one?
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author