On my macOS, torrc is located in /opt/homebrew/etc/tor. But today (when discussing the fish shell, not Tor) I was told that in general I shouldn’t go into Homebrew folder:
Q: There are at least two config.fish files on my macOS: one in $HOME/.config/fish and another in /opt/homebrew/etc/fish. What is the difference between them?
A: The config in the Homebrew directory is part of the Homebrew installation of Fish. It’s not a user configuration file. ~/.config/fish/config.fish is the place for all your personal fish configurations. In general, don’t go into the Homebrew folder. Same for anything you install with Homebrew.