On Fri, Jan 23, 2015 at 06:35:14PM +0100, Artur Rataj wrote: > Hello. After typing the following, then space, then Tab, > > tar --exclude-vcs cBvf a.tar.bz2 > > the shell or whatever freezes. > > Best regards, > Artur > bash-completion is a separate package, and reports should go here: http://bash-completion.alioth.debian.org/
It seems to get stuck here: [...] + return 1 + return 0 + local ext regex tar untar + [[ 4 -eq 1 ]] + local 'tars=@(@(tar|gem|spkg)?(.@(Z|[bgx]z|bz2|lz?(ma)))|t@([abglx]z|b?(z)2))' + case ${words[1]} in + case $prev in ++ sed -e 's/^.* \([^ ]*\) .*$/\1/' + tar=a.tar.bz2 + untar=t + local 'IFS= ' + COMPREPLY=($( compgen -W "$( printf '%s\n' $( tar $untar $tar 2>/dev/null ) )" -- "$cur" )) ++++ tar t a.tar.bz2 ++ compgen -W '' -- '' + return 0 in the tar t a.tar.bz2 I'm CC'ing bash-completion-devel to take the issue there.