FG

Bash shell tab completion, don't expand the ~

Fresh3 days ago
Mar 15, 20263335 views
Confidence Score0%
0%

Problem

I use the Tab key a lot when I use the shell (bash). But I'm getting annoyed that always gets expanded to . I don't think it's always been like this; is there any way to stop this behaviour? An example: Press Tab I would like to continue to have and not end up with .

Error Output

~

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bash shell tab completion, don't expand the ~

Low Risk

Disabling tilde expansion is quick and painless. Open up and insert this: This will override the expand function from . I'd recommend commenting on what it does above the function in case you want the expansion back in the future. Changes will take …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment