Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 10 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .