Skip to content
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

Fix #1171: Autocompletion not working on Windows #1174

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

Conversation

lolautruche
Copy link

Add quotes around the application executable before passing it to the autocomplete hook script.
Quoting prevents issues with the path when containing special characters (WS and/or \).

Add quotes around the application executable before passing it to the autocomplete hook script.
Quoting prevents issues with the path when containing special characters (WS and/or `\`).
@pjcdawkins
Copy link
Collaborator

The fix might be

@lolautruche
Copy link
Author

Not sure what the --multiple option does. I read the description in the original command, but it's still unclear to me.

@pjcdawkins
Copy link
Collaborator

The --multiple appears to just change <path> _completion to $1 _completion so if you run platfoo <tab> Bash should be using platfoo as the command name, etc. Which seems convenient, if it works.

@lolautruche
Copy link
Author

Thanks for the clarification 👍
Seems handy indeed.

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