Homebrew / homebrew-command-not-found

🔍 Ubuntu’s command-not-found equivalent for Homebrew on macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not working and I've installed and edited my bash_profile

perfekted opened this issue · comments

still just shows up

$ when
-bash: when: command not found

$ brew tap homebrew/command-not-found
Warning: Tap homebrew/command-not-found already tapped.

.bash_profile

brew command not found

if brew command command-not-found-init > /dev/null; then eval "$(brew command-not-found-init)"; fi

What is the output of brew which-formula when?

$ brew which-formula when
when

I got it to work :) I upgraded my bash to 4.3 on my mac. thanks so much for ur help and this command

I’m glad you got it to work 😄
Bash under 4.x doesn’t have the needed feature for this so you need to upgrade it.

I got it to work :) I upgraded my bash to 4.3 on my mac. thanks so much for ur help and this command

This still doesn't work for me :(

@davelab6 Please open another issue.