asdf-community / asdf-community/asdf-plugin-manager

Unable to add plugins through the CLI

Open
#69 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
65
Forks
11
PR merge metrics
No merged PRs in 30d

Description

**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**

![Image](https://github.com/user-attachments/assets/bc2d14c0-92a0-4c8c-97e4-2c34a183c2f8)

**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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `asdf-plugin-manager add shellcheck` in the stated Ubuntu and zsh environment, then trace the CLI path that updates the internal plugin list and the command producing the sed error. Done means the command completes without the sed message and `shellcheck` appears in the internal plugin list.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.