Make brew-installed apps available to superuser?
Hey there. I've installed Neovim via Homebrew, but the superuser can't seem to use it (via
sudo nvim). How can I make Homebrew-installed apps available to the superuser?Solution
Figured this one out myself and wanted to share the answer so that others could benefit... or maybe so that someone could tell me I did it wrong.
I added the Homebrew
I added the Homebrew
bin directory to the secure path by first running sudo visudo and then adding /home/linuxbrew/.linuxbrew/bin/ to the end of secure_path.