Skip to content

fix(scp): fix a bug that -F<prefix>[TAB] did not complete at all #1396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

akinomyoga
Copy link
Collaborator

@akinomyoga akinomyoga commented Jun 16, 2025

This was a part of #1371 but was separated.

Details are described in the commit message.

This was because the filtering by a modified `cur` is performed after
prefixing "-F".  Since we generate the filenames starting with "$cur",
we do not need to further filter the results with `cur`.  We disable
the filtering by specifying the `-R` flag to `_comp_compgen`.
@akinomyoga akinomyoga merged commit 3cdb549 into scop:main Jun 17, 2025
7 checks passed
@akinomyoga akinomyoga deleted the scp-refactor-1-1 branch June 17, 2025 11:58
@akinomyoga
Copy link
Collaborator Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants