[Linux-disciples] Escaping in programmable tab completion

Adam Rosi-Kessel adam at rosi-kessel.org
Sun Apr 10 10:07:47 EDT 2005


There are a lot of bash_completion bugs, see, e.g.
<http://shorl.com/jarylyfemafu>. You would really look in
/etc/bash_completion (the .d directory is for packages to drop in their
custom extensions to bash_completion).

On Sun, Apr 10, 2005 at 01:42:59AM -0400, Stephen R Laniel wrote:
> Here's an oddity. Try this little experiment at home, if you
> have bash's programmable tab completion set to work with
> rsync and scp:
> 
> 	touch 'filename(a,b)'
> 	ls file[tab]
> 
> That should work fine. Now try
> 
> 	scp file[tab]
> 
> If your configuration is like mine, the escaping won't work
> properly in the second example, but it will in the first.
> 
> Any idea what might be the issue here? I suppose the place
> to look would be in /etc/bash_completion.d, and off I go to
> look.
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org


More information about the Linux-disciples mailing list