bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab completion freezes shell


From: Eduardo A . Bustamante López
Subject: Re: Tab completion freezes shell
Date: Sat, 24 Jan 2015 11:41:20 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]