Add zsh completion #509

Merged
merged 1 commit into from Jan 7, 2017

Projects

None yet

2 participants

@pbassiner
Contributor

This PR aims to provide zsh completion for the sdk command.

Many completions are provided as zsh plugins through oh-my-zsh, although I find it more convenient to have them in each project. This way, both the project and the completions can evolve accordingly instead of relying on the plugin author to keep the completions up to date.

Other projects such as hub or docker-compose manage zsh completions this way.

@marc0der marc0der merged commit 8df496b into sdkman:master Jan 7, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@marc0der
Member
marc0der commented Jan 7, 2017

Thanks for yet another great PR! Great work!

@pbassiner
Contributor

Hi @marc0der,
I've noticed this doesn't make much sense unless we include the sdk.zsh_completion file into the sdkman installation files (so it's available under .sdkman/etc). WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment