Bash-completion in Fedora
EPKPhoto — 8 July 2007 - 11:10pm
As much as I love Fedora, occasionally I find myself wishing it would do a certain thing like Debian or Ubuntu. A while ago, I posted a way to sort the ps command like Debian in Fedora. This time, I found out how to transplant another of Debian's defaults to Fedora.
By default, Debian and Ubuntu support what is known as programmable bash completion. This goes beyond normal tab-completion in a terminal to allow you to auto-complete arguments in commands...which can be very powerful when you just can't remember the exact syntax of something or a package name you want to install, etc.
Here's all you need to install support for this type of auto-completion:
As root, run: yum install bash-completion
Once you log back into the shell, you can experience the wonders of programmable bash completion :)
- EPKPhoto's blog
- Login to post comments