Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: even better history-search-{for,back}ward for 3.1.4
- X-seq: zsh-workers 4079
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Wayne Davison <wayne@xxxxxxxxx>
- Subject: Re: PATCH: even better history-search-{for,back}ward for 3.1.4
- Date: Wed, 10 Jun 1998 02:23:38 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199806100851.BAA05622@xxxxxxxxxxxxxxx>
- References: <199806100851.BAA05622@xxxxxxxxxxxxxxx>
On Jun 10, 1:51am, Wayne Davison wrote:
} Subject: PATCH: even better history-search-{for,back}ward for 3.1.4
}
} "Bart Schaefer" writes:
} > zsh% ech<M-p>
} > zsh% echo this is a test<C-p>
} > zsh% fc -R historytest<M-p>
}
} I find it humorous that my old code did the right thing in this case
} but for the wrong reason. The new code will still search for "fc ",
} but because it properly decided to start a new search.
I hope not ... the new code ought to search for "fc" (without the space),
because of the !iblank(line[histpos]). By neither interpretation was the
old code doing the right thing.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author