Skip to content

add install suggestion for zsh command-not-found#69

Open
mk990 wants to merge 1 commit intofalconindy:masterfrom
mk990:master
Open

add install suggestion for zsh command-not-found#69
mk990 wants to merge 1 commit intofalconindy:masterfrom
mk990:master

Conversation

@mk990
Copy link

@mk990 mk990 commented Oct 8, 2024

No description provided.

if [[ -n "$pkgs" ]]; then
printf '%s may be found in the following packages:\n' "$cmd"
printf ' %s\n' $pkgs[@]
if [[ -n $PKGFILE_PROMPT_INSTALL_MISSING ]]; then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should elide the check here that's done in bash -- invoking this behavior only when pkgfile returns a single result. At best, you offer to install a randomly selected package that might not be what the user wants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants