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:
type the start of a script name and hit tab:
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:
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
I have some scripts in my package.json which contain the
:
character, this is common for commands such asbuild:dev
orbuild:prod
andlint:fix
orlint:errors
but this bash script will not complete the command when pressing tab key after the:
Example: package.json with several scripts with colon:
type the start of a script name and hit tab:
my choices are
expo:prebuild
orexpo:preview
so it's good to check in with me which to autocomplete, type the b character for prebuild and press tab again: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