#1740·cobra

在 bash 中,带有空格的 shell 完成似乎与其他受支持的 shell 不同。

作者: kangasta创建于 2022年6月21日更新于 2026年7月29日
标签kind/bugarea/shell-completion

Other shells escape whitespace in completions, but bash completions seem to add completions with whitespace as multiple suggestions or multiple arguments depending on the bash version. I would expect bash completions to also escape whitespace in completions from ValidArgsFunction.

bash v3: