💻 Software
How do I debug bash completions?
Fresh5 days ago
Mar 15, 20264387 viewsConfidence Score0%
0%
Problem
I have created some bash completion functions that all appear to work in isolation but give me unexpected results when I attempt to tab complete with them. Is it possible to connect bashdb, then attempt to tab complete something and step through to debug and determine what is going wrong?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I debug bash completions?
Low Risk
If you either in the interactive session or the autocomplete script itself, (nearly?) every command and its results will be printed out. This includes the work done inside the autocomplete script. This can then be quieted back down again with . -x A…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix