zsh-users
 help / color / mirror / code / Atom feed
* zsh implementation question
@ 2003-08-04 16:47 Eric.D.Friedman
  2003-08-04 18:31 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Eric.D.Friedman @ 2003-08-04 16:47 UTC (permalink / raw)
  To: zsh-users

Would one of the zsh developers kindly point me to the source code that zsh
uses for partial string matching on the command line?  Is it implemented as
a brute force search over an array of possible values, or does zsh use
something fancier like patricia tries to determine that "appl" matches
{"application", "apple", "applied"} from the set {"application",
"apothecary", "apple", "applied", "moose"} ?

I'm writing a GUI in which I'd like to offer similar completion capabilities
(also found in many web browsers).  The set of possible matches will always
be pretty small (smaller than what zsh deals with), so it seemed like this
was a good place to look for a reasonable implementation/inspiration.

Thanks,
Eric


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-04 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 16:47 zsh implementation question Eric.D.Friedman
2003-08-04 18:31 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).