[conspire] Netzero/Breezy Badger

Dan Martinez dfm at razorwind.org
Thu Jan 12 14:03:57 PST 2006


Rick Moen wrote:

> Notice that the shell has retroactively gone back and prepended an
> opening quotation mark?  The shell is talented.

If you install the bash-completion package -- easy on Gentoo, and
apparently likewise on Debian -- the shell goes from being merely
talented to being almost eerily prescient. "man " gets completed with
manual pages installed on your system, while "ssh " gets completed
with hosts you've previously connected to, as drawn from your
.known_hosts file.

If you've got ssh-agent running and properly configured, then
tab-completing an "scp" command where the source is a remote host will
automatically connect to said host, fetch a listing from the specified
directory on that host, and draw the set of possible path completions
from the listing.

It's spooky, man. SPOOKY. And I love it to death.

http://freshmeat.net/projects/bashcompletion/

Dan




More information about the conspire mailing list