Save time with tab

January 26, 2026

Alright, you probably use tab for completing directory listings. Here is a #protip, install bash-completion and use tab to fill in parameters.

emerge -av app-shells/bash-completion
source /etc/profile

Let’s use emerge as an example.

emerge [tab-tab]
Display all 168 possibilities? (y or n) [y]
acct-group/         app-crypt/          app-laptop/ [snip]
emerge @m[tab-tab]
emerge @module-rebuild

It’s not perfect, but it’s pretty great. I wish I would have found it earlier.