If you do something like this: $ tlctl session list --agent "ag<TAB> Then it will fail as the " is not properly ignored and interpreted as part of the agent name. This is a somewhat common issue in other tab completers as well, so users might not expect it to work reliably. Still, it would be nice if we could tab complete these cases as well as users might use them. Note that the complexity increases massively when considering bug 8353 as the allowed syntax can then vary. We also need to make sure any quoting or escaping isn't stripped out in the results given back to the user.