Bug#961660: Cause is have() Wrapper Function of Function _have()

2021-08-25 Thread Gabriel F. T. Gomes
Thanks for the update. I'll close the bug report now. Feel free to reopen it if anything else pops-up.

Bug#961660: Cause is have() Wrapper Function of Function _have()

2021-08-24 Thread Jürgen Kuri
Hello Gabriel, > If I try to complete the second word, then it doesn't work, but that's > because I don't have the configuration file under /etc and I believe > that this is unrelated to your problem: > $ fsmtool2 showconfig > grep: /etc/fsmd2/fsmd2.conf: No such file or directory Yes, that's

Bug#961660: Cause is have() Wrapper Function of Function _have()

2021-08-23 Thread Gabriel F. T. Gomes
On Mon, 23 Aug 2021 19:36:34 -0300 "Gabriel F. T. Gomes" wrote: > > I will create a chroot with old-stable (buster) to check if older > versions of bash-completion have this problem. Indeed, now I was able to reproduce it. And yes, using _have instead of have does fix the problem. So, would you

Bug#961660: Cause is have() Wrapper Function of Function _have()

2021-08-23 Thread Gabriel F. T. Gomes
Hello Jürgen, thanks for following up on this bug. On Mon, 23 Aug 2021 13:11:28 +0200 Jürgen Kuri wrote: > > If have() is used AND bash-completion script is stored into directory > > /usr/share/bash-completion/completions I'm still trying to reproduce the problem, so... I copied the fil

Bug#961660: Cause is have() Wrapper Function of Function _have()

2021-08-23 Thread Jürgen Kuri
Hello Gabriel, I found the cause. It is the wrapper function have() of the obviously newer function _have() in the shell script /usr/share/bash-completion/bash_completion As shown there, have() is still kept for backwards compatibility reasons: --8<-