Zsh integration and completions for asdf, the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.
Using zplug
Load asdf-plugin-zsh as a plugin in your .zshrc
zplug "todie/asdf-plugin-zsh", defer:2
Using zgen
Include the load command in your .zshrc
zgen load todie/asdf-plugin-zsh
zgen save
Using Antigen
Bundle asdf-plugin-zsh in your .zshrc
antigen bundle todie/asdf-plugin-zsh
antigen apply
As an Oh My Zsh custom plugin
Clone asdf-plugin-zsh into your custom plugins repo
git clone https://github.com/todie/asdf-plugin-zsh $HOME/.oh-my-zsh/custom/plugins/asdf
Then load as a plugin in your .zshrc
plugins+=(asdf)
As this plugin loads asdf's bash completions adopted for zsh using bashcompinit
function, make sure that there are no compinit
calls after the point where it sourced.