On 22/02/2022 09:27, Peter Stephenson wrote:
On 22 February 2022 at 09:09 zzapper <zsh@xxxxxxxxxxxxxx> wrote: On 21/02/2022 21:01, Mikael Magnusson wrote: Thanks Mikael for resolving this (i needed the -nl) fc -nl -m '(#i)*Mortg*' but there's something clunky with the fc -m match .. I can't get to match all of my history?Try sticking a "1" at the end of the line to get the whole history. It still does the match, but it now starts searching from the beginning. pws
# pws: yes thanks the following works fc -l -m '(#i)*Mortg*' 1 (should this be documented?) zzapper