On Thu, 22 Jul 2004, bobb wrote:
> I found something cool (and a little scary) recently with the default
> completion script for bash, if you have ssh keys and agent and stuff
> setup between machines you can do something like ``scp machine:/foo/bar<TAB>''
> and it will automatically log in, get a directory listing, and complete
> to ``scp machine:/foo/bar.txt'' or whatever....
doesnt do so here..
it does completion on local file names though, so if you do:
$ whatever whatever:/<PATH><tab>
it will autocomplete based on the local filesystem, so if /<PATH> and
whatever:/<PATH> match you might get the sense that bash was
auto-logging into to remote machine and getting dir listing, but it
isnt.
if yours is, wow.
> - bobb
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
Those lovable Brits department:
They also have trouble pronouncing `vitamin'.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!