3 ms·
What is the mechanism in which Homebrew inserts itself into every shell session anyway? I had expected it to be loaded somewhere in some shell initialization sc
by Confiks 10y ago
What is the mechanism in which Homebrew inserts itself into every shell session anyway? I had expected it to be loaded somewhere in some shell initialization script, such as .bashrc or .bash_profile, but I couldn't find anything.
- Sidnicious 10y agoIt doesn't — by default, Homebrew lives in /usr/local/bin/, which is already in the default $PATH on OS X.
- Confiks 10y agoBut then, by which mechanism does Homebrew notify GA that I have opened a terminal tab? There is a curl command executed every time, and I see a connection to GA with Little Snitch. Is there some way to see the caller of a process? htop displays no parent in the tree view.
- LeoPanthera 10y agoYou probably have something in your .bashrc, or shell equivalent, that is launching brew.