FG
💻 Software

Bash: always display file possibilities on tab-complete

Fresh5 days ago
Mar 15, 20261739 views
Confidence Score0%
0%

Problem

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 thres…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bash: always display file possibilities on tab-complete

Low Risk

You can set the threshold by adding a line like this to your ~/.inputrc file: The default is 100 and 0 appears to set no limit. This is documented in the bash(1) man page.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment