Closed montag451 closed 1 year ago
The commit 718d768 introduced a regression when the current command has no completion spec defined. Instead of using the default completion spec, it uses the first one returned by "complete -p". This commit restores the old behaviour.
Thank you for the fix! Yes, the 2nd complete -p was supposed to have a -D… This clearly lacks a test.
The commit 718d768 introduced a regression when the current command has no completion spec defined. Instead of using the default completion spec, it uses the first one returned by "complete -p". This commit restores the old behaviour.