
16 Oct
2007
16 Oct
'07
3:46 a.m.
On 2007-10-16 08:32:44 Andrea Rossato wrote:
On Mon, Oct 15, 2007 at 11:51:07PM +0100, Jamie Webb wrote:
My up-to-date repo appears still to be using bash compgen. Is there a patch missing somewhere?
Well, the prompt uses bash to get directory completion (bash comepgen -A file). The real issue we are talking about is commandCompletionFunction.
Now I'm going to write down some benchmark to compare the different approaches and have real numbers to reason with.
I'm pretty sure bash (or readline?) caches the contents of $PATH and only re-checks the directory mtimes rather than doing the whole scan each time. It's only 3k odd entries on my box. Could ShellPrompt do the same? /J