I like your solution leaving the user -/+ posix setting intact. Leaving
a small chance the user does a ^C before we restore the setting I think
is the best we can do.
Letting bash-completion disable posix globally just doesn't feel good.
The same goes for doing shopt -s extglob globally - see al
On Mon, 2010-03-22 at 19:07 +, Freddy Vulto wrote:
> Crestez Dan Leonard gmail.com> writes:
> > I had to mangle +o posix to get tests to pass. I don't know why the test
> > suite puts the shell into posix mode anyway.
>
> Because users 'out there' might run bash-completion in bash POSIX mode.
I attached a possible fix for this. It will timeout if avahi-browse
doesn't respond in 250 miliseconds. This seems reasonable; if the answer
takes longer than that it's not useful for interactive use. This will
still work for people who care about avahi.
This seems more like a big in avahi or avah
3 matches
Mail list logo