Skip to content

Conversation

@DannyBen
Copy link
Member

@DannyBen DannyBen commented Jul 21, 2021

Instead of defining custom completions like this:

completions:
- file
- user

It is now required to use the explicit syntax, as used by completely:

completions:
- <file>
- <user>

This is done, so that we can easily use custom functions, for example, to show git branches:

completions:
- <file>
- <user>
- $(git branch 2> /dev/null)

In addition - the majority of the bash completion documentation in the README was removed, so that we only have one canonical documentation in the completely gem.

@DannyBen DannyBen merged commit e7048a8 into master Jul 21, 2021
@DannyBen DannyBen deleted the refactor/completions branch July 21, 2021 13:04
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.

2 participants