mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-23 13:57:44 -05:00
Completions plugin for zsh
Install
Create a new folder for completions:
mkdir -p ~/.zsh/completions
Copy the file /sdk/_sdk from the location where sdk is installed to the folder ~/.zsh/completions/:
cp /path/to/zsh/_sdk ~/.zsh/completions/
Then add the following lines to your .zshrc file:
fpath=(~/.zsh/completions $fpath)
autoload -U compinit && compinit
Install using antigen
antigen bundle sdkman/sdkman-cli zsh