mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 01:32:55 -05: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