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 bash style completion #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blueperspective
Copy link

Hi,
This PR features a "bash" style completion :

  • if only one suggestion, it is completed
  • if more than one suggestion and suggestions are short (15 chars), show all of them in 5 columns
  • else show all suggestions, one per line

See attached screenshot.
screen

Regards

@tonerdo
Copy link
Owner

tonerdo commented Jul 16, 2017

@blueperspective this feature looks more like suggestions and not completions. It just lists the possible completions but doesn't necessarily complete the text at the prompt. Am I right about this?

@blueperspective
Copy link
Author

It does autocomplete if there is only one possibility in the "autocomplete list".
If there is more than one possibility, it is more like suggestions right.

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.

None yet

2 participants