asdf-plugin-manager
asdf-plugin-manager copied to clipboard
Unable to add plugins through the CLI
Describe the bug
When attempting to add a plugin using the CLI, the output is received :
[INFO] Adding: sed: -e expression #1, char 0: no previous regular expression
Steps to reproduce
Add a plugin using the CLI, e.g.: asdf-plugin-manager add shellcheck
Expected behavior
The plugin is added to the internal list of plugins
Screenshots
Additional context
All pre-reqs are installed. Environment: OS: Ubuntu 24.04 noble Kernel: x86_64 Linux 5.15.167.4 Shell: zsh 5.9 Asdf v0.14.1 Asdf-plugin-manager v1.4.0
I get a different error on my system (mac os 14.7.1)
asdf-plugin-manager add helm-docs
[INFO] Adding:
sed: first RE may not be empty
Keep in mind, Mac OS ships their own version of sed, that has some differences from, say, ubuntu or rhel versions of sed.
Wow I can't believe I forgot to add that. 🤦🏻 I am running Ubuntu Noble.
@jacrys @CafeLungo, thanks for reporting that 🙌
Please mention all versions (OS, asdf, asdf-plugin-manager) and the steps to reproduce the issue.