Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Better, broader solution: install bash_completion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Better, broader solution: install bash_completion
Authored by: babbage on Jan 15, '10 10:25:00AM

Here's a better idea -- just install bash_completion:

http://www.caliban.org/bash/#completion

It does all kinds of clever things, with hostname completion just being the start of it. It's also clever about things like handling svn/cvs commands & paths, handling archives, etc.

I've had it installed via Fink for a while now, but if you don't care for Fink, you can always just download the raw source tarball from here:

http://www.caliban.org/files/bash/bash-completion-20060301.tar.gz

The README document describes how to set it up, but it's mainly just a matter of putting it somewhere sensible (/etc) and then editing your ~/.basrc file to load it at launch time.

---

--
DO NOT LEAVE IT IS NOT REAL


[ Reply to This | # ]