Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why approximate pattern doesn't match?
Can (#a1) be embedded in parameter? Because it seems to not work. I do:
search_pattern="${search_buffer// ##/*~(#a1)^*}"
to obtain (out from "git comit"):
git*~(#a1)^*comit
and then use it in:
list=( "${(@M)list:#(#ia1)*$~search_pattern*}" )
So it's:
(#ia1)*git*~(#a1)^*comit*
in result.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author