KerbyServer

  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com
Home › Blogs › EPKPhoto's blog

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 :)

  • bash
  • Debian
  • Fedora
  • tab completion
  • Ubuntu
  • EPKPhoto's blog

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <img> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Syndicate

Syndicate content

User login

  • Request new password
  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com

Content © Eric Kerby