brunophilipe / Cakebrew

Manage your Homebrew formulas with style using Cakebrew.
http://www.cakebrew.com
GNU General Public License v3.0
4.8k stars 253 forks source link

Doctor reports sbin not in path #240

Open anonymousaga opened 3 years ago

anonymousaga commented 3 years ago

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.