Marshall's Weblog

Embiggen Your Mind

Marshall's Weblog header image 2

Bash Completion

March 30th, 2005 · No Comments

One of the coolest things that I ever found out when learning Unix/Linux was tab completion in bash. It made typing long path names easier and you didn’t need to know the exact path that you wanted to go to. You could “browse” the file directory this way. Then I found that it worked for commands as well, cat [TAB] would give you a list of all of the files in the current directory. Then came tab completion for processes ema [TAB] would open emacs. Now comes gentoo-bashcompletion. Looking for a package to emerge, what does gentoo say that the package is? Is it Firefox, or firefox? Nope, mozilla-firefox. With gentoo bash completion installed you can use [TAB] after typing emerge and a few characters, or a package class (app-dev/) and you will see the packages that match. This is really cool.

Planet Gentoo
I am very fond of reading weblogs in “planet” form. I very frequently visit planet.gnome.org to see what the developers are up to. Today I found out that there is a Planet Gentoo.

Tags: Linux