Skip to content

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