When I run brew doctor in terminal, I do not get any error, as sbin is in my $PATH. However, if I run brew doctor in cakebrew, I get the error,
Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
Maybe it is possible to run brew doctor in an embedded zsh shell (that uses .zshrc), similar to what VSCode does for executing java.
When I run brew doctor in terminal, I do not get any error, as sbin is in my $PATH. However, if I run brew doctor in cakebrew, I get the error,
Warning: Homebrew's "sbin" was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin. Consider setting your PATH for example like so: echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
Maybe it is possible to run brew doctor in an embedded zsh shell (that uses .zshrc), similar to what VSCode does for executing java.