Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


It doesn't — by default, Homebrew lives in /usr/local/bin/, which is already in the default $PATH on OS X.


But 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.


You probably have something in your .bashrc, or shell equivalent, that is launching brew.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: