problem with terminal: (dquote cmdsubst>)
Hi everyone,
Excuse me for the inconvenience ... and thank you in advance ,.
So here is my problem:
Lately I've been having fun with home brew on the Mac, and everything is fine until I run the brew doctor command,
He found a small problem and offered me a correction,
Here is all the text he gave me:
(Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so:
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc)
So naturally I did what he asked me to do, which was to run the following command line:
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
The concern is that the command did not solve the little problem with homebrew but even worse ... it created a new, more serious problem for me:
Now all the scripts I want to run give me the same result:
(Dquote cmdsubst>)
Example of the scripts I want to use, the official homebrew uninstall script:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh
And it gives me the same result, (dquote cmdsubst>), yet I tried in the past to run the same script before and it worked, meaning I managed to uninstall home brew,
but after brew doctor's manipulations the script no longer works,
To be honest… I'm not familiar enough with the terminal… so I absolutely don't understand what all of this means and I don't want to know it,
What I want is for the terminal to return to its usual behavior so that I can reuse scripts normally.
That's the whole problem, I apologize again for this long text,
Cordially.
MacBook Pro with Touch Bar