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

Incorrect suggestion with script name with colon : #56

Open
ChromeQ opened this issue Nov 3, 2023 · 0 comments
Open

Incorrect suggestion with script name with colon : #56

ChromeQ opened this issue Nov 3, 2023 · 0 comments

Comments

@ChromeQ
Copy link

ChromeQ commented Nov 3, 2023

I have some scripts in my package.json which contain the : character, this is common for commands such as build:dev or build:prod and lint:fix or lint:errors but this bash script will not complete the command when pressing tab key after the :

Example:
package.json with several scripts with colon:
image

type the start of a script name and hit tab:
image

my choices are expo:prebuild or expo:preview so it's good to check in with me which to autocomplete, type the b character for prebuild and press tab again:
image

My bash skills are not good enough to tackle this myself so I'm hoping you can do a quick fix or suggest something as it works for the npm-completion script. 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

No branches or pull requests

1 participant