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.

When I use tab for filename completion and there are more than ~100 matches, it displays something like "Display all 403 possibilities? (y or n)". This gets annoying when I do it many times a day. Is there a way to always display all completions instead of this prompt? Or even better, set the threshold above which it displays the prompt?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

You can set the threshold by adding a line like this to your ~/.inputrc file:

set completion-query-items 1000

The default is 100 and 0 appears to set no limit. This is documented in the bash(1) man page.

share|improve this answer
    
Awesome. Thank you! –  fferen Mar 11 '12 at 5:18

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.