Latest (V2.0.0) yarn-autocompletions_linux.tar.gz does not have latest code changes
Closed this issue ยท 4 comments
jedster1111 commented
Download https://github.com/g-plane/zsh-yarn-autocompletions/releases/download/v2.0.0/yarn-autocompletions_linux.tar.gz
Extract files, and look at the contents of yarn-autocompletions.plugin.zsh
.
It does not contain the fix made in #22.
Actual content of file is:
YARN_AUTO_COMP_PATH="$(dirname $0)/yarn-autocompletions"
_yarn_autocompletions() {
compls=$($YARN_AUTO_COMP_PATH $1)
completions=(${=compls})
compadd -- $completions
}
_yarn() {
case $words[2] in
add)
if [[ $words[3] == "--dev" ]]
then
_yarn_autocompletions "add-dev"
else
_yarn_autocompletions "add"
fi
;;
remove)
_yarn_autocompletions "remove"
;;
upgrade)
_yarn_autocompletions "remove"
;;
why)
_yarn_autocompletions "why"
;;
*)
_yarn_autocompletions "scripts"
;;
esac
}
I haven't checked the other release artifacts, but they could have the same problem?
g-plane commented
Solving this is easy, and I'll bump version later.
g-plane commented
New version has been released. Sorry for delay.
jedster1111 commented
Thanks ๐ Appreciate the plugin!
g-plane commented
Feel free to star it or follow my GitHub account if you like it.