Files
2017-04-21 14:38:26 +01:00
..

Installation instructions

zsh

Create a new folder for completions:

mkdir -p ~/.zsh/completions

Copy the file /etc/_sdk from the location where sdk is installed to the folder ~/.zsh/completions/:

cp /path/to/etc/sdk.zsh_completion ~/.zsh/completions/

Then add the following lines to your .zshrc file:

fpath=(~/.zsh/completions $fpath)
autoload -U compinit && compinit

Using antigen

antigen bundle sdkman/sdkman-cli zsh