4 ms·
Wish there was a way of opt'ing-out without having to set an env var for every session .. is there some brew place to put ENV vars?
by fit2rule 11y ago
Wish there was a way of opt'ing-out without having to set an env var for every session .. is there some brew place to put ENV vars?
- LeoPanthera 11y agoShove it in your .bashrc, or equivalent for your shell of choice.
- atm0sphere 11y agopls go ahead and read the first response: http://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables http://unix.stackexchange.com/questions/117467/how-to-perman...
- fit2rule 11y agoThis is a very single-user-centric view. Some of us have Macs with many hundreds of users. And so .. It is too invasive of my .bashrc/.profile that I have to use it to disable spy activity. I'd rather brew just have its own flag somewhere that says "Don't ever send analytics, ever, for any user on this system.."
- madeofpalk 11y agoThat's what ~/.bashrc or ~/.bash_profile or (whatever it is for your shell) is for.
- fit2rule 11y agoYeah, I don't want to do that every single time I put home-brew on a machine somewhere, for every single user. Doesn't it have its own global config? I confess that I'm too miffed by this intrusion in my privacy to be bothered to find out ..
- GFK_of_xmaspast 11y agoAre you perhaps looking for /etc/profile.
- madeofpalk 11y agoSeeing as it's just an environment variable for your shell, look for a way to set global environment variables.
- abjorn 11y agoCouldn't you just put it in your .bashrc?
- fit2rule 11y agoFor every user on this machine? On every Mac in the house? Meh. What I want: "brew disable analytics" There, now I don't have to think about it any more, nor maintain a .profile/.bashrc, nor do it every single time for every user.
- abjorn 11y agoYou would still need to do it for every user, anytime you create a new one. I fail to see how that's any different from, say `echo "export HOMEBREW_NO_ANALYTICS=1" >> .bashrc` Of course, the better alternative IS for it to be opt-in, which it should be.
- fit2rule 11y agoThis: >>>`echo "export HOMEBREW_NO_ANALYTICS=1" >> .bashrc` .. makes me responsible for it. This: >>> brew analytics no-never .. makes brew responsible for it. There is a big difference. Some of us don't want to have to maintain yet another .bashrc file tweak just to have a safe and sane environment. I hope the homebrew guys will pay attention to this issue.
- SuperKlaus 11y agoPut it in ~/.profile ?
- quotha 11y agoadd this to shell profile file: export HOMEBREW_NO_ANALYTICS=1