[Linux-disciples] Escaping in programmable tab completion

Stephen R Laniel steve at laniels.org
Sun Apr 10 01:42:59 EDT 2005


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.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/


More information about the Linux-disciples mailing list