dotnet / dotnet/command-line-api
bash completion script: tilde expansion
Open
Area-Completions
bug
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
For `~`, the current behavior is:
- The .NET app gets the `WordToComplete` with the `~`,
- And if it returns an completion item with a `~`, the bash completion script replaces that `~` with the user HOME.
Instead:
- The .NET application should get a `WordToComplete` where the `~` is already expanded: it is not the .NET app's responsibility to handle `~`.
- Completion items returned by the .NET app should be returned literally.
cc @jonsequitur @adamsitnik
Contributor guide
Assessment
This issue has not been assessed yet.