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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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`.
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