asdf.plugin.zsh
December 25, 2016 ยท View on GitHub
Zsh integration and completions for asdf, the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.
Installation
Using zplug
Load asdf.plugin.zsh as a plugin in your .zshrc
zplug "kiurchv/asdf.plugin.zsh", defer:2
Using zgen
Include the load command in your .zshrc
zgen load kiurchv/asdf.plugin.zsh
zgen save
Using Antigen
Bundle asdf.plugin.zsh in your .zshrc
antigen bundle kiurchv/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/kiurchv/asdf.plugin.zsh $HOME/.oh-my-zsh/custom/plugins/asdf
Then load as a plugin in your .zshrc
plugins+=(asdf)
Caveats
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.