zsh plugin for completion of options and list of packages for elm.
Oh My ZSH! custom plugin
Clone elm.plugin.zsh
into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/kraklin/elm.plugin.zsh.git ~/.oh-my-zsh/custom/plugins/elm
plugins+=(elm)
Keep in mind that plugins need to be added before oh-my-zsh.sh
is sourced.
Bundle elm.plugin.zsh
in your .zshrc
antigen bundle kraklin/elm.plugin.zsh
Load elm.plugin.zsh
as a plugin in your .zshrc
zplug "kraklin/elm.plugin.zsh"
Include the load command in your .zshrc
zget load kraklin/elm.plugin.zsh
Clone this repository somewhere (~/.elm.plugin.zsh
for example) and source it in your .zshrc
git clone https://github.com/kraklin/elm.plugin.zsh ~/.elm.plugin.zsh
source ~/.elm.plugin.zsh/elm.plugin.zsh
This plugin autocompletes the option of elm
app. Just use tabs.
To autocompletion for packages to work, you have to get the list of package names.
There is a function in this plugin for it: elm-completion-update
.
# Get fresh pacckages names from package.elm-lang.org
elm-completion-update
Now you should be able to run autocompletion for elm install
and elm diff
packages