On Tuesday 28 July 2009, Freddy Vulto wrote:

> I was under the assumption that `_filedir' was to be trusted
> anywhere, but it seems it isn't or am I overlooking something?

I think it isn't...

> Otherwise, wouldn't it be nice to add an option to `_filedir' to
> escape spaces?  Or better, create a new function `_compgen_filedir'
> with this optional behaviour ;-)?

...but why wouldn't simply adding $filenames to their "complete" calls be the 
right thing to do?  The above sounds somewhat messy to me and personally I'd 
rather start thinking about getting rid of most of _filedir's current contents 
(when we can assume -o plusdirs) than adding more hair that duplicates 
existing functionality to it.

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to