Get rid of bash login message after Linux Brew uninstall

952 Views Asked by At

I removed brew on Linux but still get the following message every time I log in:

-bash: /home/linuxbrew/.linuxbrew/bin/brew: No such file or directory

How do I remove it?

1

There are 1 best solutions below

0
On BEST ANSWER

If you followed this installation guide, you need to find the .profile file which you added that directory and remove it.

For me it was at $HOME/.profile. Once I removed that entry, the message is now gone.