FG
šŸ’» Software

Undo bash autocompletion

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

Problem

Possible Duplicate: Keyboard shortcuts in Bash shell Is there any way I can undo an auto-completion done by bash? For example: Is there any way I can replace the irritating backspacing part with some cool combo which undoes the most recent auto-completion?

Error Output

$> ls first/second/t
<Presses tab>
$> ls first/second/third
<realizes it should be fourth and not third>
<presses backspace key till initial prompt i…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Undo bash autocompletion

Low Risk

try undo with also may do what you want. It deletes last word.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment