Bash completions should narrow when part of a script is provided
Author: EazashCreated Feb 27, 2025Updated Feb 27, 2025
Labelsenhancement
Clear and concise description of the problem
The current implementation prints all available even if part of the script name is provided for completion candidates
Suggested solution
The completion should return only those scripts that contain/start with the string provided
Alternative
No response
Additional context
Happy to submit a PR for this
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Source: antfu-collective/ni