Re: [Bash-completion-devel] Weird compopt.exp unit test problem

2010-02-10 Thread Ville Skyttä
On Tuesday 09 February 2010, Crestez Dan Leonard wrote: On Sun, 2010-02-07 at 21:24 +0200, Ville Skyttä wrote: Huh, why does it end up invoking d $TESTDIR instead of cd $TESTDIR, and I suppose the first char of the { set; ... command got lost too? I tried bisecting but didn't find any

Re: [Bash-completion-devel] _get_comp_words_by_ref

2010-02-10 Thread Freddy Vulto
On 100209 13:14, Crestez Dan Leonard wrote: I'm not sure about the arguments to the _get_comp_words_by_ref function. Passing multiple [cur] [prev] [prev2].. arguments doesn't seem all that useful. More than cur and prev would very rarely be useful; and in such a case it might be better to just

Re: [Bash-completion-devel] Weird compopt.exp unit test problem

2010-02-10 Thread Ville Skyttä
On Wednesday 10 February 2010, Freddy Vulto wrote: On 100210 18:16, Ville Skyttä wrote: Maybe this is what you meant above put in other words, but removing the -re {a\\\'b/c} { block from compgen.exp or hacking the regexp so that it does not match makes the problem go away for me. I don't