jimingham wrote:

Just to make sure there's no confusion...  The reason that `b` completes to 
`__regex_break` is that we always prefer exact matches in completion.  Since we 
did:

`command alias b __regex_break
`

then `b<TAB>` should only complete to the `b` alias.  That makes sense, since 
executing `b` will run the `__regex_break` alias.

Maybe this was already clear, but it sounded from David's original comment that 
`b` selecting the `__regex_break` alias was because aliases & built-in commands 
are being treated differently, but in fact that one should still be unambiguous 
because exact matches always win.

https://github.com/llvm/llvm-project/pull/65760
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to