Closed jedster1111 closed 4 years ago
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-autocompletions.plugin.zsh
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?
Solving this is easy, and I'll bump version later.
New version has been released. Sorry for delay.
Thanks 😄 Appreciate the plugin!
Feel free to star it or follow my GitHub account if you like it.
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:I haven't checked the other release artifacts, but they could have the same problem?