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

ddev npm autocompletion doesn't work #6106

Open
1 task done
rfay opened this issue Apr 16, 2024 · 1 comment
Open
1 task done

ddev npm autocompletion doesn't work #6106

rfay opened this issue Apr 16, 2024 · 1 comment

Comments

@rfay
Copy link
Member

rfay commented Apr 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Output of ddev debug test

Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior

Normal autocompletion for ddev npm

Actual Behavior

In DDEV v1.23.0-rc2 (and others)

ddev npm autocompletion doesn't work on any platform. You get this instead:

$ ddev npm /mnt/ddev-global-cache/global-commands/web/autocomplete/npm: line 8: _npm_completion: command not found

But while we're here... All the other autocompletes are absolutely wonderful and a huge improvement to DDEV.

Steps To Reproduce

In a project, type ddev npm and hit tab a couple of times.

Anything else?

Just thought you'd want to know about this @GuySartorelli because I know you care about all these.

@GuySartorelli
Copy link
Collaborator

Thanks.

Looking back at the PR where this was introduced npm completion is the one I needed to add to bashrc in the web container. My guess is something went awry with that part of it.

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

2 participants