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

ADD autocomplete project names #completion #4880

Closed
1 task done
allanlaal opened this issue May 5, 2023 · 4 comments
Closed
1 task done

ADD autocomplete project names #completion #4880

allanlaal opened this issue May 5, 2023 · 4 comments

Comments

@allanlaal
Copy link

allanlaal commented May 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

there are lots of projects in ddev list with long names and common prefixes on my pc

Describe your solution

I type ddev command and type a letter and hit Tab
I get a list of project names that match

Describe alternatives

using the mouse -- oh the humanity!

Additional context

not to be confused with ddev completion, which works well

@rfay
Copy link
Member

rfay commented May 5, 2023

I don't think this is easy to do, but a contribution is welcome. It sure would be nice!

@stasadev
Copy link
Member

There is a --select (-s) flag for ddev start and ddev stop. It has a very nice interactive selection.

@rfay
Copy link
Member

rfay commented May 11, 2023

Thanks to @cmuench for that great feature!

Bash/zsh autocomplete would be more integrated and would be very welcome, but it would take some effort to figure out how to do it.

@GuySartorelli
Copy link
Collaborator

I've raised #5732 to address this. Not sure where to put tests and there's an open question there for what (if anything) to do with the --select flag. Details in PR description.

GuySartorelli added a commit to GuySartorelli/ddev that referenced this issue Jan 25, 2024
GuySartorelli added a commit to GuySartorelli/ddev that referenced this issue Jan 25, 2024
GuySartorelli added a commit to GuySartorelli/ddev that referenced this issue Jan 25, 2024
GuySartorelli added a commit to GuySartorelli/ddev that referenced this issue Jan 27, 2024
rfay pushed a commit to GuySartorelli/ddev that referenced this issue Feb 3, 2024
GuySartorelli added a commit to GuySartorelli/ddev that referenced this issue Feb 3, 2024
@rfay rfay closed this as completed in bdd783d Feb 4, 2024
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

4 participants