Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using GNU Bash 4.2.5 with fedora 18.

Whenever I'm typing something into the shell say

pe<tab>

I get an annoying error sound, I then have to press tab again to view the auto-complete suggestions, I was wondering if it's possible to make it so that instead of throwing me an error the first time and making a bell/ping sound, it directly prints auto complete suggestions the first time I hit tab.

I still want to have the "Display all 172 possibilities?[y/N]" like warnings available.

I don't know how I can customize bash behaviour so, since I've never attempted something like this before, so please bear with me.

share|improve this question

1 Answer 1

Basic customization of bash's completion behavior can be performed by modifying various readline variables in ~/.inputrc. See the bash(1) man page, READLINE section, Readline Variables subsection, for details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.