kiurchv / asdf.plugin.zsh

Zsh integration and completions for asdf
MIT License
15 stars 6 forks source link

Homebrew asdf 0.9.0 breaks this plugin #5

Open folkengine opened 2 years ago

folkengine commented 2 years ago
❯ asdf
Unknown command: `asdf `
/opt/homebrew/Cellar/asdf/0.9.0/libexec/bin/asdf: line 82: /opt/homebrew/opt/asdf/lib/commands/command-help.bash: No such file or directory

Homebrew instructs you to add the following to your .zshrc: . /opt/homebrew/opt/asdf/libexec/asdf.sh

Removing the plugin and adding the command fixes the issue.

aesyondu commented 2 years ago

This is the error I got using asdf@0.8.0_1 and zsh@5.8 (x86_64-apple-darwin17.7.0 and the asdf plugin plugins=(git docker docker-compose asdf)

asdf --version
Unknown command: `asdf --version`
/usr/local/bin/asdf: line 82: /usr/local/opt/asdf/libexec/lib/commands/command-help.bash: No such file or directory

I ran brew upgrade asdf and it updated to asdf@0.9.0 and it works now:

asdf --version
v0.9.0