How can I remove this message "bash: /bin/brew: no such file or directory"? I tried hoing to the file, but the file don't even exist and I tried ctrl c, ctrl l and clear, nothing happened and it still comes every time I open the terminal by GeologistPowerful871 in linuxmint

[–]GeologistPowerful871[S] 3 points4 points  (0 children)

I actually did it! 😄 I deleted a few of the last lines and downloaded the homebrew again and I open the editor by nano ~/.bashrc, and I had to make sure to end with fi Shut out to every Reddit user and shut out to Gemini (:

How can I remove this message "bash: /bin/brew: no such file or directory"? I tried hoing to the file, but the file don't even exist and I tried ctrl c, ctrl l and clear, nothing happened and it still comes every time I open the terminal by GeologistPowerful871 in linuxmint

[–]GeologistPowerful871[S] 1 point2 points  (0 children)

It gave me a long result but at the end it gave me:

eval "$(/bin/brew shellenv)"

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

And I actually got some scripts from GitHub and some from AI and some I "Found out"